From c9c4dd0ce8b38e6fe798d940efa2a3e4bdd9c514 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Wed, 4 Aug 2021 10:55:53 -0400 Subject: [PATCH] make ssh socket-activate --- modules/profiles.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/profiles.nix b/modules/profiles.nix index b843986..3769ec0 100644 --- a/modules/profiles.nix +++ b/modules/profiles.nix @@ -16,6 +16,7 @@ in (mkIf (cfg == "server") { services.openssh.enable = true; + services.openssh.startWhenNeeded = true; documentation.nixos.enable = false; nix.gc = { automatic = true;