This commit is contained in:
Spectre 2024-06-07 19:15:37 +02:00
parent e683317ab3
commit 425145920c
6 changed files with 6 additions and 7 deletions

View file

@ -10,7 +10,6 @@
./gpg.nix ./gpg.nix
./helix.nix ./helix.nix
./packages.nix ./packages.nix
# ./persist.nix
./playerctld.nix ./playerctld.nix
./rofi.nix ./rofi.nix
./sops.nix ./sops.nix

View file

@ -23,12 +23,12 @@
".config/obsidian" ".config/obsidian"
".config/spotify" ".config/spotify"
( (
lib.optionals lib.optional
config.gaming.enable config.gaming.enable
".local/share/PrismLauncher" ".local/share/PrismLauncher"
) )
( (
lib.optionals lib.optional
config.gaming.enable config.gaming.enable
".local/share/Steam" ".local/share/Steam"
) )

View file

@ -3,7 +3,7 @@
sops-nix, sops-nix,
... ...
}: { }: {
# imports = [sops-nix.homeManagerModules.sops]; imports = [sops-nix.homeManagerModules.sops];
sops = { sops = {
age.keyFile = "/persist/data${conf.home}/.config/sops/age/keys.txt"; age.keyFile = "/persist/data${conf.home}/.config/sops/age/keys.txt";
}; };

View file

@ -8,7 +8,7 @@
]; ];
files = []; files = [];
# users.${conf.user} = (import ../home/persistence.nix).data; # users.${conf.user} = (import ../home/persist.nix).data;
}; };
environment.persistence."/persist/cache" = { environment.persistence."/persist/cache" = {
@ -25,6 +25,6 @@
"/etc/machine-id" "/etc/machine-id"
]; ];
# users.${conf.user} = (import ../home/persistence.nix).cache; # users.${conf.user} = (import ../home/persist.nix).cache;
}; };
} }

View file

@ -1,5 +1,4 @@
{ {
lib,
conf, conf,
config, config,
... ...
@ -18,6 +17,7 @@
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs; inherit inputs;
conf = conf; conf = conf;
sops-nix = inputs.inputs.sops-nix;
}; };
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;