other kernel

This commit is contained in:
Philipp Hochkamp 2022-03-26 18:39:21 +01:00
parent 601734a116
commit 2c860c57aa
2 changed files with 18 additions and 54 deletions

View file

@ -5,7 +5,7 @@ in
{
options.ragon.services.ssh.enable = lib.mkEnableOption "Enables sshd";
config = lib.mkIf cfg.enable {
services.openssh.permitRootLogin = "no";
services.openssh.permitRootLogin = "without-password";
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
};