diff --git a/systems/hetzner/default.nix b/systems/hetzner/default.nix index 60ddd94..4da38da 100644 --- a/systems/hetzner/default.nix +++ b/systems/hetzner/default.nix @@ -22,8 +22,23 @@ }; - networking = { - wireless.enable = lib.mkForce false; + networking.usePredictableInterfaceNames = false; + networking.dhcpcd.enable = false; + systemd.network = { + enable = true; + networks."eth0" = { + extraConfig = '' + [Match] + Name = eth0 + [Network] + # Add your own assigned ipv6 subnet here here! + Address = 2a01:4f8:a0:31e5::/64 + Gateway = fe80::1 + # optionally you can do the same for ipv4 and disable DHCP (networking.dhcpcd.enable = false;) + Address = 85.10.200.204 + Gateway = 85.10.200.193 + ''; + }; }; time.timeZone = "Europe/Berlin";