Browse Source

hosts/containers/dhcp: make dhcp server authoritative

Make the dhcp server explicitly authoritative before importing
the configuration from the secrets submodule.
master
Emery Hemingway 2 months ago
parent
commit
a3db001870
2 changed files with 5 additions and 2 deletions
  1. 4
    1
      hosts/containers/dhcp/configuration.nix
  2. 1
    1
      secrets

+ 4
- 1
hosts/containers/dhcp/configuration.nix View File

@@ -31,7 +31,10 @@
31 31
   services.dhcpd4 = {
32 32
     enable = true;
33 33
     interfaces = [ "eth0" ];
34
-    extraConfig = builtins.readFile ../../../secrets/hosts/dhcp/config;
34
+    extraConfig = ''
35
+      authoritative;
36
+
37
+    '' + builtins.readFile ../../../secrets/hosts/dhcp/config;
35 38
   };
36 39
 
37 40
   # This value determines the NixOS release with which your system is to be

+ 1
- 1
secrets

@@ -1 +1 @@
1
-Subproject commit 3ae294f84afa3a399a73fedf60418009cc330598
1
+Subproject commit bd190b8b1f925a7b781eea72e60c3a10fae83bcc

Loading…
Cancel
Save