infra/nix/os/profiles/containers/configuration.nix

21 lines
443 B
Nix
Raw Normal View History

2023-02-07 18:24:28 +01:00
{...}: {
2022-03-20 16:40:47 +01:00
networking.useHostResolvConf = false;
networking.nameservers = ["1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one"];
services.resolved = {
enable = true;
dnssec = "true";
domains = ["~."];
fallbackDns = ["1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one"];
extraConfig = ''
DNSOverTLS=yes
'';
};
imports = [
../../modules/ddclient-ovh.nix
../../modules/ddclient-hetzner.nix
];
2019-02-03 14:31:21 +01:00
}