From 91c24a0be5c26134f8d8fdc0d51e9a2b92f37e6b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 15 Nov 2021 09:34:55 +0059 Subject: vidhar: ... --- hosts/vidhar/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hosts/vidhar/default.nix') diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 7335ea8a..ebe8c750 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -96,6 +96,12 @@ services.dhcpd4 = { enable = true; interfaces = [ "eno1" ]; + extraConfig = '' + subnet 10.141.0.0 netmask 255.255.255.0 { + range 10.141.0.128 10.141.0.254; + option domain-name-servers 1.1.1.1 8.8.8.8; + } + ''; }; services.corerad = { enable = true; @@ -120,6 +126,7 @@ }; systemd.network.networks = { "eno2".networkConfig.LinkLocalAddressing = "no"; + "telekom".networkConfig.LinkLocalAddressing = "no"; }; services.timesyncd.enable = false; -- cgit v1.2.3