enable dnsmasq for DHCP and DNS
allow setting static ipv4 address on DMZ
This commit is contained in:
parent
d4301bf7cd
commit
54d5f6f5dc
3 changed files with 99 additions and 36 deletions
|
@ -24,6 +24,9 @@
|
|||
hostName = "atlas.hyp";
|
||||
|
||||
nixosModule.lab = {
|
||||
dns.enable = true;
|
||||
networking.staticDMZIpv4Address = "192.168.30.7/24";
|
||||
|
||||
storage = {
|
||||
osDisk = "/dev/sda";
|
||||
dataPartition = "/dev/nvme0n1p1";
|
||||
|
@ -43,7 +46,7 @@
|
|||
|
||||
nixosModule.lab = {
|
||||
dataHost.enable = true;
|
||||
dns.enable = true;
|
||||
# dns.enable = true;
|
||||
|
||||
storage = {
|
||||
osDisk = "/dev/sda";
|
||||
|
|
Reference in a new issue