ops/nixos: move tailscale/systemd-networkd fixes to lib/bgp
This commit is contained in:
parent
389be0c195
commit
28e7704f44
3 changed files with 3 additions and 3 deletions
|
@ -168,8 +168,6 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
services.tailscale.package = depot.nix.pkgs.tailscale;
|
|
||||||
systemd.network.config.networkConfig.ManageForeignRoutes = "no";
|
|
||||||
systemd.mounts = let
|
systemd.mounts = let
|
||||||
bindMount' = dir: {
|
bindMount' = dir: {
|
||||||
unitConfig.RequiresMountsFor = dir;
|
unitConfig.RequiresMountsFor = dir;
|
||||||
|
|
|
@ -10,7 +10,6 @@ in {
|
||||||
../lib/zfs.nix
|
../lib/zfs.nix
|
||||||
../lib/graphical-client-wayland.nix
|
../lib/graphical-client-wayland.nix
|
||||||
../lib/whitby-distributed.nix
|
../lib/whitby-distributed.nix
|
||||||
../lib/bgp.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
|
|
|
@ -407,5 +407,8 @@ in {
|
||||||
"net.ipv6.conf.default.autoconf" = 0;
|
"net.ipv6.conf.default.autoconf" = 0;
|
||||||
"net.ipv6.conf.all.autoconf" = 0;
|
"net.ipv6.conf.all.autoconf" = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.tailscale.package = depot.nix.pkgs.tailscale;
|
||||||
|
systemd.network.config.networkConfig.ManageForeignRoutes = "no";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue