diff options
| -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"; } ]; }; } |
