diff --git a/config/containers/named.nix b/config/containers/named.nix new file mode 100644 index 00000000..f6533c7d --- /dev/null +++ b/config/containers/named.nix @@ -0,0 +1,14 @@ +{ ... }: { + containers."named" = { + config = { + services.bind = { + enable = true; + forwarders = [ + "2a01:4f8:c17:14df::1" + ]; + cacheNetworks = [ "0.0.0.0/0" "::/0" ]; + }; + system.stateVersion = "21.11"; + }; + }; +} diff --git a/config/nixos-8gb-fsn1-1.nix b/config/nixos-8gb-fsn1-1.nix index cbf8a0b7..fe0d2797 100644 --- a/config/nixos-8gb-fsn1-1.nix +++ b/config/nixos-8gb-fsn1-1.nix @@ -6,6 +6,7 @@ (modulesPath + "/profiles/qemu-guest.nix") ./grub.nix ./server.nix + ./containers/named.nix ]; boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];