dns through nm

This commit is contained in:
bogale 2026-11-02 00:02:57 +09:00
commit b609d1e774
3 changed files with 40 additions and 45 deletions

View file

@ -43,17 +43,22 @@
};
};
services = {
dnsmasq.settings = {
bind-dynamic = true;
dhcp-boot = "efi/boot/BOOTX64.EFI";
dhcp-range = [
"10.2.0.2,10.2.255.254,12h"
"fc02::2,fc02::ffff:ffff:ffff:ffff,12h"
];
enable-ra = true;
enable-tftp = true;
interface = "br0";
tftp-root = "/srv/pxe/nixos/boot";
dnsmasq = {
enable = true;
settings = {
bind-dynamic = true;
bogus-priv = true;
dhcp-boot = "efi/boot/BOOTX64.EFI";
dhcp-range = [
"10.2.0.2,10.2.255.254,12h"
"fc02::2,fc02::ffff:ffff:ffff:ffff,12h"
];
domain-needed = true;
enable-ra = true;
enable-tftp = true;
interface = "br0";
tftp-root = "/srv/pxe/nixos/boot";
};
};
nfs.server = {
enable = true;