refactor: sops-nix

This commit is contained in:
2025-07-22 17:32:34 +08:00
parent 3263d72b59
commit 8ca0a6cc0f
12 changed files with 38 additions and 33 deletions

View File

@@ -2,7 +2,7 @@
lib,
config,
username,
sopsRoot,
secrets,
...
}:
{
@@ -23,7 +23,7 @@
environment.variables.NIX_REMOTE = "daemon";
sops.secrets.imxyy-nix-server-hashed-password = {
sopsFile = sopsRoot + /imxyy-nix-server-hashed-password.txt;
sopsFile = secrets.imxyy-nix-server-hashed-password;
format = "binary";
neededForUsers = true;
};