dns through nm
This commit is contained in:
parent
4c0362efb7
commit
b609d1e774
3 changed files with 40 additions and 45 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue