Fix sops user passwd

This commit is contained in:
muon 2025-07-31 21:36:11 +00:00
parent 19b9edc01b
commit ac0f87a429
6 changed files with 14 additions and 9 deletions

View file

@ -3,9 +3,9 @@ let cfg = config.mods;
in with lib; {
imports = [ inputs.sops-nix.nixosModules.sops ];
sops = {
age.keyFile = "/home/muon/.config/sops/age/keys.txt";
age.keyFile = "/var/lib/sops-nix/key.txt";
defaultSopsFile = ./secrets.yaml;
secrets.muon-password = { };
secrets.muon-password.neededForUsers = true;
secrets.zipline-secret = mkIf cfg.server.share.enable {
owner = "zipline";
group = "zipline";