all repos — nixfiles @ e528188604164e979b6eafa8bd2ea60fc48a4ea6

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
{
  config,
  lib,
  ...
}:
{
  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
  );
}