forked from c3d2/nix-config
hosts/containers/dhcp: make dhcp server authoritative
Make the dhcp server explicitly authoritative before importing the configuration from the secrets submodule.
This commit is contained in:
parent
cee19e7e3e
commit
a3db001870
|
@ -31,7 +31,10 @@
|
||||||
services.dhcpd4 = {
|
services.dhcpd4 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces = [ "eth0" ];
|
interfaces = [ "eth0" ];
|
||||||
extraConfig = builtins.readFile ../../../secrets/hosts/dhcp/config;
|
extraConfig = ''
|
||||||
|
authoritative;
|
||||||
|
|
||||||
|
'' + builtins.readFile ../../../secrets/hosts/dhcp/config;
|
||||||
};
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release with which your system is to be
|
# This value determines the NixOS release with which your system is to be
|
||||||
|
|
2
secrets
2
secrets
|
@ -1 +1 @@
|
||||||
Subproject commit 3ae294f84afa3a399a73fedf60418009cc330598
|
Subproject commit bd190b8b1f925a7b781eea72e60c3a10fae83bcc
|
Loading…
Reference in New Issue
Block a user