demonstrate adding ssh keys

module-based-network
Daniel Barlow 2023-03-23 13:16:58 +00:00
parent beb6e260d4
commit 1c36f1b373
1 changed files with 7 additions and 1 deletions

View File

@ -214,7 +214,13 @@ in rec {
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 = {
uid=500; gid=500; gecos="Storage owner"; dir="/srv";