From c6d78a6ff947152fa5385c6a5246fbd1bd00b91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Sun, 14 Aug 2022 19:23:58 +0200 Subject: [PATCH] Always keep openssh port open --- modules/core/services.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/core/services.nix b/modules/core/services.nix index 61ba6ea0..ebe3cf70 100644 --- a/modules/core/services.nix +++ b/modules/core/services.nix @@ -4,7 +4,8 @@ # For rage encryption, all hosts need a ssh key pair services.openssh = { enable = true; - openFirewall = lib.mkDefault false; + openFirewall = lib.mkDefault true; + passwordAuthentication = false; }; # Service that makes Out of Memory Killer more effective