diff --git a/host/x86_64-linux/dasha/Network.nix b/host/x86_64-linux/dasha/Network.nix new file mode 100644 index 00000000..cddfeaee --- /dev/null +++ b/host/x86_64-linux/dasha/Network.nix @@ -0,0 +1,20 @@ +{ ... }: { + systemd.network = { + networks = { + "10-lan" = { + matchConfig.Name = "enp5s0"; + linkConfig.RequiredForOnline = "routable"; + networkConfig = { + DHCP = "ipv4"; + IPv6AcceptRA = true; + }; + address = [ + "10.0.0.7/24" + ]; + routes = [ + { routeConfig.Gateway = "10.0.0.1"; } + ]; + }; + }; + }; +}