ops/nixos: move tailscale/systemd-networkd fixes to lib/bgp

This commit is contained in:
Luke Granger-Brown 2023-04-15 14:36:22 +00:00
parent 389be0c195
commit 28e7704f44
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -10,7 +10,6 @@ in {
../lib/zfs.nix
../lib/graphical-client-wayland.nix
../lib/whitby-distributed.nix
../lib/bgp.nix
];
boot.initrd.availableKernelModules = [

View file

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