s/color/theme

This commit is contained in:
iFargle 2024-01-06 21:48:55 +09:00
parent 8d217624df
commit a7833f9c6c

View file

@ -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;