diff options
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r-- | hosts/vidhar/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
96 | services.dhcpd4 = { | 96 | services.dhcpd4 = { |
97 | enable = true; | 97 | enable = true; |
98 | interfaces = [ "eno1" ]; | 98 | interfaces = [ "eno1" ]; |
99 | extraConfig = '' | ||
100 | subnet 10.141.0.0 netmask 255.255.255.0 { | ||
101 | range 10.141.0.128 10.141.0.254; | ||
102 | option domain-name-servers 1.1.1.1 8.8.8.8; | ||
103 | } | ||
104 | ''; | ||
99 | }; | 105 | }; |
100 | services.corerad = { | 106 | services.corerad = { |
101 | enable = true; | 107 | enable = true; |
@@ -120,6 +126,7 @@ | |||
120 | }; | 126 | }; |
121 | systemd.network.networks = { | 127 | systemd.network.networks = { |
122 | "eno2".networkConfig.LinkLocalAddressing = "no"; | 128 | "eno2".networkConfig.LinkLocalAddressing = "no"; |
129 | "telekom".networkConfig.LinkLocalAddressing = "no"; | ||
123 | }; | 130 | }; |
124 | 131 | ||
125 | services.timesyncd.enable = false; | 132 | services.timesyncd.enable = false; |