diff --git a/system/configuration.nix b/system/configuration.nix index ae8afca..234b43b 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -48,7 +48,13 @@ programs.firejail.enable = true; security.rtkit.enable = true; - services.sshd.enable = true; + services.openssh = { + enable = true; + kbdInteractiveAuthentication = false; + passwordAuthentication = false; + permitRootLogin = "no"; + ports = [ 9022 ]; + }; ## Enable sound with pipewire. sound.enable = true;