diff --git a/nixos/hw/c4130.nix b/nixos/hw/c4130.nix index a3c873d3..27b5e0fe 100644 --- a/nixos/hw/c4130.nix +++ b/nixos/hw/c4130.nix @@ -18,9 +18,9 @@ in { inherit (config.systemd) network; in mkIf config.networking.useNetworkd { networks = { - eno1 = { + "10-eno1" = { inherit (config.boot.initrd.systemd.network.links."10-eno1") matchConfig; - inherit (network.networks.eno1) address gateway DHCP networkConfig linkConfig; + inherit (network.networks."10-eno1") address gateway DHCP networkConfig linkConfig; }; }; links."10-eno1" = { @@ -40,7 +40,7 @@ in { inherit (config.systemd) network; in { networks = { - br = mkIf enableBridge { + "10-br" = mkIf enableBridge { matchConfig.Name = "br"; DHCP = "no"; linkConfig = { @@ -52,7 +52,7 @@ in { MulticastDNS = true; }; }; - eno2 = { + "10-eno2" = { inherit (network.links."10-eno2") matchConfig; bridge = mkIf enableBridge ["br"]; linkConfig = { diff --git a/systems/gengetsu/hardware-configuration.nix b/systems/gengetsu/hardware-configuration.nix index 9ce7fdde..d4de9b1f 100644 --- a/systems/gengetsu/hardware-configuration.nix +++ b/systems/gengetsu/hardware-configuration.nix @@ -25,7 +25,7 @@ networking.useNetworkd = true; systemd.network = { - networks.eno1 = { + networks."10-eno1" = { inherit (config.systemd.network.links."10-eno1") matchConfig; address = ["10.1.1.61/24"]; gateway = ["10.1.1.1"]; diff --git a/systems/mugetsu/hardware-configuration.nix b/systems/mugetsu/hardware-configuration.nix index 7e7637ec..af858f8a 100644 --- a/systems/mugetsu/hardware-configuration.nix +++ b/systems/mugetsu/hardware-configuration.nix @@ -20,7 +20,7 @@ networking.useNetworkd = true; systemd.network = { - networks.eno1 = { + networks."10-eno1" = { inherit (config.systemd.network.links."10-eno1") matchConfig; address = ["10.1.1.60/24"]; gateway = ["10.1.1.1"];