summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-04-04 17:59:57 +0200
committerAlan Pearce2024-04-04 17:59:57 +0200
commitc745334c35561c8288c46db24cce6a2d51db7dae (patch)
tree6a68f092f2251e724367a2fc37f51eaff5b1da9e /system
parentff871154bb39b218f9e5b6b42fae39c3204bea0a (diff)
downloadnixfiles-c745334c35561c8288c46db24cce6a2d51db7dae.tar.lz
nixfiles-c745334c35561c8288c46db24cce6a2d51db7dae.tar.zst
nixfiles-c745334c35561c8288c46db24cce6a2d51db7dae.zip
prefect: also use IPv6 DNS servers
Diffstat (limited to 'system')
-rw-r--r--system/prefect.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 7785e76b..6ce2fb50 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -94,8 +94,17 @@
     serviceConfig.ExecStart = "${pkgs.systemd}/bin/systemd-inhibit --mode block --what sleep --who 'ssh session '%I --why 'session still active' ${pkgs.coreutils}/bin/sleep infinity";
   };
 
-  # needed to resolve local hostname overrides
-  services.resolved.dnssec = "false";
+  systemd.network = {
+    enable = true;
+    networks."40-enp7s0" = {
+      dhcpV4Config = {
+        UseDNS = true;
+      };
+      ipv6AcceptRAConfig = {
+        UseDNS = true;
+      };
+    };
+  };
   networking = {
     useDHCP = false;
     useNetworkd = true;