dns configuration with networkmanager

This commit is contained in:
bogale 2026-11-02 00:11:31 +09:00
commit 062f82dbed
3 changed files with 39 additions and 45 deletions

View file

@ -43,17 +43,21 @@
};
};
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;
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";
port = 0;
tftp-root = "/srv/pxe/nixos/boot";
};
};
nfs.server = {
enable = true;