diff --git a/sovr/etc/nixos/configuration.nix b/sovr/etc/nixos/configuration.nix index 4f15581..1f473c3 100644 --- a/sovr/etc/nixos/configuration.nix +++ b/sovr/etc/nixos/configuration.nix @@ -63,7 +63,7 @@ services.cloud-init = { enable = true; - network.enable = true; + network.enable = false; }; services.openssh = { enable = true; @@ -77,7 +77,29 @@ sessionSecret = "secret"; }; - systemd.network.enable = true; + systemd.network = { + enable = true; + networks."09-wan" = { + address = [ + "194.135.104.85/24" + "2605:e440::2:1d5/64" + "2605:e440::2:3e/64" + ]; + dns = [ + "8.8.8.8" + "8.8.4.4" + "2001:4860:4860::8888" + "2001:4860::8844" + ]; + linkConfig.RequiredForOnline = "routable"; + matchConfig.Name = "eth0"; + routes = [ + { Gateway = "194.135.104.1"; } + { Gateway = "2605:e440::1"; } + ]; + }; + }; + # Set your time zone. time.timeZone = "America/Phoenix";