summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix29
1 files changed, 16 insertions, 13 deletions
diff --git a/ymir.nix b/ymir.nix
index 9055a1e7..25161393 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -870,23 +870,26 @@ in rec {
870 enable = true; 870 enable = true;
871 allowedAccess = ["127.0.0.0/8" "::ffff:127.0.0.0/104" "::1/128" "10.141.0.0/16"]; 871 allowedAccess = ["127.0.0.0/8" "::ffff:127.0.0.0/104" "::1/128" "10.141.0.0/16"];
872 interfaces = ["127.0.0.1" "::1" "10.141.5.1"]; 872 interfaces = ["127.0.0.1" "::1" "10.141.5.1"];
873 extraConfig = '' 873 settings = {
874 verbosity: 1 874 verbosity = 1;
875 875
876 private-domain: "yggdrasil" 876 private-domain = "yggdrasil";
877 877
878 domain-insecure: "10.in-addr.arpa" 878 domain-insecure = [ "10.in-addr.arpa" "yggdrasil" ];
879 domain-insecure: "yggdrasil"
880 879
881 local-zone: "10.in-addr.arpa" nodefault 880 local-zone = "\"10.in-addr.arpa\" nodefault";
882 881
883 forward-zone: 882 forward-zone = [
884 name: "10.in-addr.arpa" 883 {
885 forward-addr: 10.141.1.1 884 name = "10.in-addr.arpa";
886 forward-zone: 885 forward-addr = "10.141.1.1";
887 name: "yggdrasil" 886 }
888 forward-addr: 10.141.1.1 887 {
889 ''; 888 name = "yggdrasil";
889 forward-addr = "10.141.1.1";
890 }
891 ];
892 };
890 }; 893 };
891 894
892 services.dhcpd4 = { 895 services.dhcpd4 = {