all repos — nixfiles @ 14fbad0fae1f43a9f28f4e2c76eccf6a822761dc

System and user configuration, managed by nix and home-manager

home: enable openssh, even if machine is not a server

Alin
commit

14fbad0fae1f43a9f28f4e2c76eccf6a822761dc

parent

24b10add354de5a9acf378b45616c27076547565

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 + ); + }; }