diff options
Diffstat (limited to '')
| -rw-r--r-- | modules/ssh.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/ssh.nix b/modules/ssh.nix new file mode 100644 index 0000000..a389210 --- /dev/null +++ b/modules/ssh.nix @@ -0,0 +1,9 @@ +{ pkgs, config, ... }: + +{ + services.openssh = { + enable = true; + permitRootLogin = "no"; + passwordAuthentication = false; + }; +} |
