demonstrate adding ssh keys

This commit is contained in:
Daniel Barlow 2023-03-23 13:16:58 +00:00
parent beb6e260d4
commit 1c36f1b373

View file

@ -214,7 +214,13 @@ in rec {
watchdog watchdog
]; ];
}; };
users.root.passwd = lib.mkForce secrets.root_password;
users.root = {
passwd = lib.mkForce secrets.root_password;
# openssh.authorizedKeys.keys = [
# (builtins.readFile "/home/dan/.ssh/id_rsa.pub")
# ];
};
users.store = { users.store = {
uid=500; gid=500; gecos="Storage owner"; dir="/srv"; uid=500; gid=500; gecos="Storage owner"; dir="/srv";