diff options
Diffstat (limited to 'config/services/ssh.nix')
| -rw-r--r-- | config/services/ssh.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/services/ssh.nix b/config/services/ssh.nix new file mode 100644 index 0000000..46164ef --- /dev/null +++ b/config/services/ssh.nix @@ -0,0 +1,10 @@ +{ lib, ... }: +{ + services.openssh = { + allowSFTP = false; + settings = { + PermitRootLogin = "no"; + AllowGroups = lib.mkDefault [ "wheel" ]; + }; + }; +} |
