summaryrefslogtreecommitdiff
path: root/modules/ssh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ssh.nix')
-rw-r--r--modules/ssh.nix9
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;
+ };
+}