diff --git a/machines/orbi/hardware-configuration/default.nix b/machines/orbi/hardware-configuration/default.nix index 7460101..7a4641e 100644 --- a/machines/orbi/hardware-configuration/default.nix +++ b/machines/orbi/hardware-configuration/default.nix @@ -57,8 +57,8 @@ in clan.core.facts.services.zfs = factsGenerator.zfs { }; networking.hostId = config.clan.core.facts.services.zfs.public."zfs.hostId".value; - systemd.network.networks."10-hetzner".networkConfig.Address = ipv6.address; - boot.initrd.systemd.network.networks."10-hetzner" = config.systemd.network.networks."10-hetzner"; + systemd.network.networks."10-uplink".networkConfig.Address = ipv6.address; + boot.initrd.systemd.network.networks."10-uplink" = config.systemd.network.networks."10-uplink"; # todo: use ssh component boot.initrd.kernelModules = [ networkInterfaceModule ]; diff --git a/machines/probe/hardware-configuration/hetzner.nix b/machines/probe/hardware-configuration/hetzner.nix index 92616e8..a061375 100644 --- a/machines/probe/hardware-configuration/hetzner.nix +++ b/machines/probe/hardware-configuration/hetzner.nix @@ -3,14 +3,14 @@ # set up hetzner cloud network systemd.network.enable = true; - systemd.network.networks."10-hetzner" = { + systemd.network.networks."10-uplink" = { matchConfig.Name = "en*"; networkConfig.DHCP = "ipv4"; linkConfig.RequiredForOnline = "routable"; }; # set up hetzner cloud network during init - boot.initrd.systemd.network.networks."10-hetzner" = config.systemd.network.networks."10-hetzner"; + boot.initrd.systemd.network.networks."10-uplink" = config.systemd.network.networks."10-uplink"; boot.initrd.availableKernelModules = [ "virtio_pci" ]; # network kernel module # set up hetzner boot loader