fix: sops

This commit is contained in:
2025-04-18 17:30:15 +08:00
parent 05cbac2096
commit dc07455b30
15 changed files with 86 additions and 52 deletions

View File

@@ -25,6 +25,7 @@
sops.secrets.imxyy-nix-server-hashed-password = {
sopsFile = sopsRoot + /imxyy-nix-server-hashed-password.txt;
format = "binary";
neededForUsers = true;
};
users.users.${username}.hashedPasswordFile =
lib.mkForce config.sops.secrets.imxyy-nix-server-hashed-password.path;