mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/routnerr-2: fix network DHCP settings
This commit is contained in:
parent
315565a0ba
commit
aeda9981aa
1 changed files with 8 additions and 2 deletions
|
@ -43,8 +43,11 @@ let
|
|||
# DHCPServer on NixOS does not support Boot options yet.
|
||||
extraConfig = ''
|
||||
[DHCPServer]
|
||||
DefaultLeaseTimeSec = 86400;
|
||||
MaxLeaseTimeSec = 86400;
|
||||
PoolOffset = 50
|
||||
DNS = ${vars.domain}
|
||||
EmitDNS = true
|
||||
DNS = _server_address
|
||||
BootServerAddress = 192.168.${toString id}.1
|
||||
BootFilename = netboot.xyz.kpxe
|
||||
'';
|
||||
|
@ -170,8 +173,11 @@ in {
|
|||
# DHCPServer on NixOS does not support Boot options yet.
|
||||
extraConfig = ''
|
||||
[DHCPServer]
|
||||
DefaultLeaseTimeSec = 86400;
|
||||
MaxLeaseTimeSec = 86400;
|
||||
PoolOffset = 50
|
||||
DNS = ${vars.domain}
|
||||
EmitDNS = true
|
||||
DNS = _server_address
|
||||
BootServerAddress = 192.168.1.1
|
||||
BootFilename = netboot.xyz.kpxe
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue