From bd36c8640fa08de1bafa266ab69c097fb21ebae1 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Sun, 1 Jun 2025 16:12:17 +1000 Subject: [PATCH] tidied `home.nix` --- home/resources/themes/default.nix | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/home/resources/themes/default.nix b/home/resources/themes/default.nix index afcae04..d0969ea 100755 --- a/home/resources/themes/default.nix +++ b/home/resources/themes/default.nix @@ -8,11 +8,26 @@ with lib; ./themepkgs.nix # imports declared theme packages ]; - home = { - file."Wallpapers" = { # copies wallpapers from flake to home directory - source = ../wallpapers; - target = "${wallpapersPath}"; - recursive = true; + home-manager = { + extraSpecialArgs = { + inherit inputs outputs; + inherit label version; + inherit flakePath disksPath; + inherit primaryUser homeDir; + inherit wallpapersPath wallpaper; + inherit hostname; + }; + users = { + ${primaryUser} = { + imports = [ ]; + home = { + file."Wallpapers" = { # copies wallpapers from flake to home directory + source = ../wallpapers; + target = "${wallpapersPath}"; + recursive = true; + }; + }; + }; }; };