This commit is contained in:
soraefir
2024-12-23 18:43:58 +01:00
parent 1410c0c39f
commit 40b827d4ca
9 changed files with 234 additions and 71 deletions

View File

@ -1,5 +1,6 @@
{ lib, config, ... }: {
#environment.sessionVariables.SOPS_AGE_KEY_FILE = keyFilePath;
systemd.user.startServices = "sd-switch";
programs.home-manager.enable = true;
@ -9,4 +10,12 @@
stateVersion = "24.11";
};
#SOPS
sops.defaultSopsFile = ./sops/${config.usercfg.username}.yaml;
sops.age.keyFile = "/var/lib/sops-nix/age-key.txt";
sops.age.generateKey = true;
sops.secrets."github_user_key" = { };
sops.secrets."curse_forge_key" = { };
}