diff --git a/configuration.nix b/configuration.nix index 4eb6dbb..5e59cd7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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"; }