summaryrefslogtreecommitdiff
path: root/nix/modules/ssh.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-09-08 03:00:59 -0700
committerPreston Pan <ret2pop@gmail.com>2025-09-08 03:00:59 -0700
commite9e01cbb26efca6e392df2f720729c672b711f2f (patch)
treed5a5d990786dd0fddb90397029412f2e8ad28d45 /nix/modules/ssh.nix
parent5b8d09f2d7ebb7a1670c695af5761353d5b76d7e (diff)
Fix sops-nix; fix hyprland windowrules; fix security things
Diffstat (limited to 'nix/modules/ssh.nix')
-rw-r--r--nix/modules/ssh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/modules/ssh.nix b/nix/modules/ssh.nix
index 076ee47..db0ebd3 100644
--- a/nix/modules/ssh.nix
+++ b/nix/modules/ssh.nix
@@ -5,7 +5,7 @@
settings = {
PasswordAuthentication = lib.mkDefault (! config.monorepo.profiles.server.enable);
AllowUsers = [ config.monorepo.vars.userName "root" "git" ];
- PermitRootLogin = "yes";
+ PermitRootLogin = "prohibit-password";
KbdInteractiveAuthentication = false;
};
};