home: enable openssh, even if machine is not a server
1 file changed, 7 insertions(+), 4 deletions(-)
changed files
M system/roles/home.nix → system/roles/home.nix
@@ -6,8 +6,11 @@ }: { networking.domain = "home.arpa"; - services.openssh.openFirewall = lib.mkDefault ( - # default to open for new machines until firewall is fully configured - builtins.length config.networking.firewall.trustedInterfaces == 0 - ); + services.openssh = { + enable = true; + openFirewall = lib.mkDefault ( + # default to open for new machines until firewall is fully configured + builtins.length config.networking.firewall.trustedInterfaces == 0 + ); + }; }