summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/profiles/server/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/profiles/server/default.nix b/nixos/profiles/server/default.nix
index 4ccef67..ac24e20 100644
--- a/nixos/profiles/server/default.nix
+++ b/nixos/profiles/server/default.nix
@@ -8,6 +8,9 @@
services = {
openssh = {
enable = true;
+ settings = {
+ PasswordAuthentication = false;
+ };
};
};
}