summaryrefslogtreecommitdiff
path: root/modules/core/services.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/services.nix')
-rw-r--r--modules/core/services.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/core/services.nix b/modules/core/services.nix
index f3d1d24..c80bb68 100644
--- a/modules/core/services.nix
+++ b/modules/core/services.nix
@@ -4,7 +4,11 @@
openssh = {
enable = true;
openFirewall = lib.mkDefault false;
- settings.AllowUsers = [ "jras" ];
+ allowSFTP = false;
+ settings = {
+ AllowUsers = [ "jras" ];
+ PermitRootLogin = "no";
+ };
};
};
}