From 6aade3b547fd5901a9de0432a55c79bf7a15b0d7 Mon Sep 17 00:00:00 2001 From: Fabian Date: Sat, 18 Apr 2020 16:19:15 +0000 Subject: [PATCH] Switch montalin to DMZ network --- host/montalin.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/host/montalin.nix b/host/montalin.nix index 034dda3..b66574a 100644 --- a/host/montalin.nix +++ b/host/montalin.nix @@ -58,9 +58,14 @@ # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour. networking.useDHCP = false; - networking.interfaces.eno1.useDHCP = true; + networking.interfaces.eno1 = { + ipv4.addresses = [ { address = "10.1.2.2"; prefixLength = 24; } ]; + }; networking.interfaces.wlp1s0.useDHCP = true; + networking.defaultGateway = "10.1.2.1"; + networking.nameservers = [ "10.1.2.1" ]; + #networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. #networking.wireless.networks = { # yummi = {