diff --git a/ops/nixos/cofractal-ams01/default.nix b/ops/nixos/cofractal-ams01/default.nix index 5649af2997..7bb283b0f2 100644 --- a/ops/nixos/cofractal-ams01/default.nix +++ b/ops/nixos/cofractal-ams01/default.nix @@ -168,8 +168,6 @@ in } ]; - services.tailscale.package = depot.nix.pkgs.tailscale; - systemd.network.config.networkConfig.ManageForeignRoutes = "no"; systemd.mounts = let bindMount' = dir: { unitConfig.RequiresMountsFor = dir; diff --git a/ops/nixos/howl/default.nix b/ops/nixos/howl/default.nix index 4977c46a8f..89f1878290 100644 --- a/ops/nixos/howl/default.nix +++ b/ops/nixos/howl/default.nix @@ -10,7 +10,6 @@ in { ../lib/zfs.nix ../lib/graphical-client-wayland.nix ../lib/whitby-distributed.nix - ../lib/bgp.nix ]; boot.initrd.availableKernelModules = [ diff --git a/ops/nixos/lib/bgp.nix b/ops/nixos/lib/bgp.nix index 0d6c56b5eb..721d35f3f1 100644 --- a/ops/nixos/lib/bgp.nix +++ b/ops/nixos/lib/bgp.nix @@ -407,5 +407,8 @@ in { "net.ipv6.conf.default.autoconf" = 0; "net.ipv6.conf.all.autoconf" = 0; }; + + services.tailscale.package = depot.nix.pkgs.tailscale; + systemd.network.config.networkConfig.ManageForeignRoutes = "no"; }; }