summaryrefslogtreecommitdiff
path: root/modules/users/defin.nix
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2023-11-20 19:51:18 -0700
committerDevin Finlinson <devin.finlinson@pm.me>2023-11-20 19:51:18 -0700
commitf09faeed2ef3cdf9674bb5a32aa26493b83b35ea (patch)
tree938c5a7325487bb6b1df2dd3a615a9f8ab162df4 /modules/users/defin.nix
parent7b7c87f81e550c25d7389d7a709324facea558ce (diff)
disabling password ssh auth now that key auth works properly
Diffstat (limited to 'modules/users/defin.nix')
-rw-r--r--modules/users/defin.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/users/defin.nix b/modules/users/defin.nix
index 6ac84c1..b9c46f9 100644
--- a/modules/users/defin.nix
+++ b/modules/users/defin.nix
@@ -22,4 +22,7 @@
# Allow to run nix
nix.settings.allowed-users = [ "defin" ];
+
+ # I can't think of a better spot to put this rn.
+ services.openssh.settings.PasswordAuthentication = false;
} \ No newline at end of file