fix: typo hashedPasswordPath -> hashedPasswordFile

This commit is contained in:
2025-04-13 15:22:46 +08:00
parent 50247d94e8
commit 9525246e3f

View File

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