dns configuration with networkmanager
This commit is contained in:
parent
4c0362efb7
commit
c31dc86310
5 changed files with 44 additions and 51 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue