diff options
author | Alan Pearce | 2024-04-04 17:59:57 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-04 17:59:57 +0200 |
commit | c745334c35561c8288c46db24cce6a2d51db7dae (patch) | |
tree | 6a68f092f2251e724367a2fc37f51eaff5b1da9e | |
parent | ff871154bb39b218f9e5b6b42fae39c3204bea0a (diff) | |
download | nixfiles-c745334c35561c8288c46db24cce6a2d51db7dae.tar.lz nixfiles-c745334c35561c8288c46db24cce6a2d51db7dae.tar.zst nixfiles-c745334c35561c8288c46db24cce6a2d51db7dae.zip |
prefect: also use IPv6 DNS servers
-rw-r--r-- | system/prefect.nix | 13 |
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; |