using nix path for authorized_keys file

This commit is contained in:
John Lancaster
2024-12-08 13:48:09 -06:00
parent 6dfa38cc5e
commit 6e891cc6da

View File

@@ -40,7 +40,7 @@
time.timeZone = "${timeZone}"; time.timeZone = "${timeZone}";
users.users.${user} = { users.users.${user} = {
isNormalUser = true; isNormalUser = true;
openssh.authorizedKeys.keyFiles = [ "/root/.ssh/authorized_keys" ]; openssh.authorizedKeys.keyFiles = [ /root/.ssh/authorized_keys ];
}; };
}) })
]; ];