all repos — nixfiles @ 1cc03d9372ceb28838427f5df28e93d75bd0e4ee

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

system/roles/home.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  config,
  lib,
  ...
}:
{
  networking.domain = "home.arpa";

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