From 04ea5a6556fc211c356cd4632a6fe187196a378d Mon Sep 17 00:00:00 2001 From: Elec3137 Date: Fri, 20 Feb 2026 20:08:18 -0800 Subject: [PATCH] system: fix password authentication being on in ssh I'm not sure what precisely is overriding it, but it makes sense to require lib.mkForce if this were to be changed --- system/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/default.nix b/system/default.nix index fa7b2c5..5ed0dcc 100644 --- a/system/default.nix +++ b/system/default.nix @@ -78,8 +78,8 @@ in security.sudo-rs.enable = lib.mkDefault true; - services.openssh = lib.mkDefault { - enable = true; + services.openssh = { + enable = lib.mkDefault true; # only accept key authentication, for security settings.PasswordAuthentication = false;