[louise] misc
This commit is contained in:
@@ -8,7 +8,6 @@ in
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
openssh.authorizedKeys.keys = sshKeys.admins;
|
||||
|
||||
initialPassword = "test";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,5 +7,6 @@ in
|
||||
services.openssh.enable = true;
|
||||
services.openssh.ports = [ 22 ];
|
||||
services.openssh.passwordAuthentication = false;
|
||||
services.openssh.settings.PermitRootLogin = "no";
|
||||
users.users.root.openssh.authorizedKeys.keys = sshKeys.admins;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user