add openssh

This commit is contained in:
smayzy 2025-10-10 12:08:43 +02:00
parent 000af7e8b4
commit 8c3888b710

View File

@ -86,6 +86,18 @@
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
PasswordAuthentication = true;
AllowUsers = null;
UseDns = true;
X11Forwarding = false;
PermitRootLogin = "prohibit-password";
};
};
system.stateVersion = "25.05";
}