diff options
author | sefidel <contact@sefidel.net> | 2023-09-15 23:59:10 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-15 23:59:10 +0900 |
commit | 3b07d7af031a8134e4680130bb42897c0ddd05e6 (patch) | |
tree | 02f43e75024cf48516906de5c7db585ba08698b1 /systems | |
parent | c5bb106927b50a1066c34be5783d3dddfe2c8785 (diff) | |
download | infra-3b07d7af031a8134e4680130bb42897c0ddd05e6.tar.gz infra-3b07d7af031a8134e4680130bb42897c0ddd05e6.zip |
feat(systems/cobalt): passwordFile -> hashedPasswordFile
Diffstat (limited to 'systems')
-rw-r--r-- | systems/cobalt/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix index 28e0dce..64d778b 100644 --- a/systems/cobalt/default.nix +++ b/systems/cobalt/default.nix @@ -117,13 +117,13 @@ in sops.secrets.root-password.neededForUsers = true; sops.secrets.sefidel-password.neededForUsers = true; - users.users.root.passwordFile = config.sops.secrets.root-password.path; + users.users.root.hashedPasswordFile = config.sops.secrets.root-password.path; users.users.root.openssh.authorizedKeys.keys = maintainerKeys; users.users.sefidel = { isNormalUser = true; shell = pkgs.zsh; - passwordFile = config.sops.secrets.sefidel-password.path; + hashedPasswordFile = config.sops.secrets.sefidel-password.path; openssh.authorizedKeys.keys = sefidelKeys; extraGroups = [ "wheel" ]; |