yggdrasil: disable systemd-networkd with a reason

This commit is contained in:
Astro 2021-03-04 01:44:39 +01:00
parent ba5943e852
commit 6c28006440
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ in {
firewall.enable = false;
defaultGateway = "172.20.72.6";
defaultGateway6 = "2a02:8106:208:5281::b:0";
# systemd-networkd breaks setting default routes. so sad.
useNetworkd = pkgs.lib.mkForce false;
nameservers = [ "172.20.73.8" ];
interfaces.eth0 = {
ipv4 = {