diff --git a/lib/default.nix b/lib/default.nix index 0c285040..a7c329e6 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -22,11 +22,11 @@ username ? "albert", desktop ? null, platform ? "x86_64-linux", - color ? "default", + theme ? "default", type ? "default" }: inputs.home-manager.lib.homeManagerConfiguration { pkgs = inputs.nixpkgs.legacyPackages.${platform}; - extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion color; }; + extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion theme; }; modules = [ ../home-manager/${type}.nix ]; @@ -39,10 +39,10 @@ desktop ? null, gpu ? null, platform ? "x86_64-linux", - color ? "default", + theme ? "default", type ? "default" }: inputs.nixpkgs.lib.nixosSystem { - specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform color; }; + specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; }; modules = [ # Types are 'default', 'small', and 'minimal' ../nixos/${type}.nix @@ -58,10 +58,10 @@ desktop ? null, platform ? "x86_64-linux", gpu ? null, - color ? "default", + theme ? "default", format }: inputs.nixos-generators.nixosGenerate { - specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu platform color format; }; + specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu platform theme format; }; system = platform; format = format; @@ -71,7 +71,7 @@ inputs.sops-nix.nixosModules.sops inputs.lanzaboote.nixosModules.lanzaboote inputs.home-manager.nixosModules.home-manager { - home-manager.extraSpecialArgs = { inherit inputs outputs desktop hostname username hmStateVersion stateVersion gpu platform color format; }; + home-manager.extraSpecialArgs = { inherit inputs outputs desktop hostname username hmStateVersion stateVersion gpu platform theme format; }; home-manager.users."${username}" = import ../home-manager; } ]; @@ -84,11 +84,11 @@ desktop ? null, platform ? "x86_64-linux", gpu ? null, - color ? "default", + theme ? "default", format }: inputs.nixos-generators.nixosGenerate { - specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu platform color format; }; + specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu platform theme format; }; system = platform; format = format;