quick fix
This commit is contained in:
parent
5893ada5a2
commit
694067f075
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
ssh = {
|
||||
enable = true;
|
||||
port = 2222;
|
||||
hostKeys = /boot/initrd/ssh_host_rsa_key;
|
||||
hostKeys = [ /boot/initrd/ssh_host_rsa_key ];
|
||||
# this includes the ssh keys of all users in the wheel group, but you can just specify some keys manually
|
||||
# authorizedKeys = [ "ssh-rsa ..." ];
|
||||
authorizedKeys = with lib; concatLists (mapAttrsToList (name: user: if elem "wheel" user.extraGroups then user.openssh.authorizedKeys.keys else []) config.users.users);
|
||||
|
|
Loading…
Reference in a new issue