Install NixOS on Hetzner Cloud: Difference between revisions
→Static IPv4 configuration: Missing match config |
|||
| Line 67: | Line 67: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
systemd.network.networks."30-wan" = { | systemd.network.networks."30-wan" = { | ||
matchConfig.Name = "ens3"; # either ens3 (amd64) or enp1s0 (arm64) | |||
networkConfig.DHCP = "no"; | networkConfig.DHCP = "no"; | ||
address = [ | address = [ | ||