Misc fixes of wrong of old syntax calls

This commit is contained in:
Chris Toph 2025-05-28 22:22:32 -04:00
parent 7301574365
commit b33ef09f21
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ in
"video" "video"
]) ])
]; ];
openssh.authorizedKeys.keys = builtins.attrValues config.secretsSpec.ssh.publicKeys or [ ]; openssh.authorizedKeys.keys = user.ssh.publicKeys or [ ];
}; };
# Special sudo config for user # Special sudo config for user
@ -69,7 +69,7 @@ in
users.users.root = { users.users.root = {
shell = pkgs.bash; shell = pkgs.bash;
hashedPassword = lib.mkForce hostSpec.hashedPassword; hashedPassword = lib.mkForce hostSpec.hashedPassword;
openssh.authorizedKeys.keys = builtins.attrValues config.secretsSpec.ssh.publicKeys or [ ]; openssh.authorizedKeys.keys = user.ssh.publicKeys or [ ];
}; };
} }
// lib.optionalAttrs (inputs ? "home-manager") { // lib.optionalAttrs (inputs ? "home-manager") {

Binary file not shown.