From 83c680d36a7ab29bec6b8e33e94d98a7d26bcfc0 Mon Sep 17 00:00:00 2001 From: Jermeiah S Date: Tue, 1 Jul 2025 21:18:14 -0400 Subject: [PATCH] feature: ssh now only runs when needed --- modules/nixos/common/ssh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nixos/common/ssh.nix b/modules/nixos/common/ssh.nix index adf2e1c..0533109 100644 --- a/modules/nixos/common/ssh.nix +++ b/modules/nixos/common/ssh.nix @@ -5,6 +5,7 @@ services.openssh = { enable = true; settings.PasswordAuthentication = false; + startWhenNeeded = true; }; security = { sudo.execWheelOnly = true;