enable dnsmasq for DHCP and DNS

allow setting static ipv4 address on DMZ
This commit is contained in:
Pim Kunis 2024-01-07 22:36:26 +01:00
parent d4301bf7cd
commit 54d5f6f5dc
3 changed files with 99 additions and 36 deletions

View file

@ -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";