all repos — nixfiles @ 2b2a0517bb8ca00cf7429fb230da7befa586735c

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

system/roles/server.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ ... }:
{
  imports = [
    ../settings/configuration/nix-linux.nix

    ../settings/services/tailscale.nix
    ../settings/services/caddy.nix
  ];

  services.tailscale = {
    useRoutingFeatures = "both";
    extraSetFlags = [
      "--advertise-exit-node"
    ];
  };
}