diff options
| author | Mel <einebeere@gmail.com> | 2024-12-30 21:03:42 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-12-30 21:03:42 +0100 |
| commit | 3dc0c01bed3aa23b704e48d94bee5e3788d5530c (patch) | |
| tree | 9ea71b38ccce921aae90c58d38c11be7a5342598 | |
| parent | 2e3d0c8ecef1e8c013fac23e4cfaa5ebc234062f (diff) | |
| download | specimen-3dc0c01bed3aa23b704e48d94bee5e3788d5530c.tar.zst specimen-3dc0c01bed3aa23b704e48d94bee5e3788d5530c.zip | |
Use DHCP for IPv4 configuration, like OVH wants
Signed-off-by: Mel <einebeere@gmail.com>
| -rw-r--r-- | configuration/devices.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configuration/devices.nix b/configuration/devices.nix index dcb7e86..f9ec155 100644 --- a/configuration/devices.nix +++ b/configuration/devices.nix @@ -5,7 +5,7 @@ enable = true; version = 2; device = "/dev/sda"; - }; + }; networking = { useDHCP = false; @@ -22,14 +22,12 @@ systemd.network.enable = true; systemd.network.networks."10-wan" = { name = "ens3"; - DHCP = "no"; + DHCP = "ipv4"; address = [ "2001:41d0:701:1100::522b" - "162.19.227.249" ]; routes = [ { Gateway = "2001:41d0:701:1100::1"; } - { Gateway = "162.19.227.1"; } ]; }; } |
