all repos — nixfiles @ c745334c35561c8288c46db24cce6a2d51db7dae

System and user configuration, managed by nix and home-manager

prefect: also use IPv6 DNS servers
Alan Pearce alan@alanpearce.eu
Thu, 04 Apr 2024 17:59:57 +0200
commit

c745334c35561c8288c46db24cce6a2d51db7dae

parent

ff871154bb39b218f9e5b6b42fae39c3204bea0a

1 files changed, 11 insertions(+), 2 deletions(-)

jump to
M system/prefect.nixsystem/prefect.nix
@@ -94,8 +94,17 @@ wantedBy = [ "sshd@.service" ];     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;