all repos — nixfiles @ f4153b91f8260f98fcf7010f57a59decd0815621

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"
    ];
  };
}