From f09faeed2ef3cdf9674bb5a32aa26493b83b35ea Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Mon, 20 Nov 2023 19:51:18 -0700 Subject: disabling password ssh auth now that key auth works properly --- modules/users/defin.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/users') 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 -- cgit v1.2.3