diff --git a/home/default.nix b/home/default.nix index 17cb146..724f5eb 100755 --- a/home/default.nix +++ b/home/default.nix @@ -68,9 +68,14 @@ in { ./home.nix ]; home = { - username = "${primaryUser}"; - homeDirectory = "${homeDir}"; - stateVersion = "24.11"; + username = "${primaryUser}"; # passes username from `flake.nix` + homeDirectory = "${homeDir}"; # passes homedir from `flake.nix` + file."Wallpapers" = { # copies wallpapers from flake to home directory + source = ../wallpapers; + target = "${wallpapersPath}"; + recursive = true; + }; + stateVersion = "24.11"; # IMPORTANT }; }; }; diff --git a/home/resources/themes/default.nix b/home/resources/themes/default.nix index d0969ea..7a8dc71 100755 --- a/home/resources/themes/default.nix +++ b/home/resources/themes/default.nix @@ -1,4 +1,4 @@ -{ inputs, outputs, lib, config, flakePath, disksPath, primaryUser, homeDir, wallpapersPath, wallpaper, ... }: +{ lib, config, ... }: with lib; @@ -8,29 +8,6 @@ with lib; ./themepkgs.nix # imports declared theme packages ]; - 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; - }; - }; - }; - }; - }; - ## Configurable options for themes options.theme = {