mirror of
https://github.com/thegeneralist01/config.git
synced 2026-07-21 19:05:19 +02:00
13 lines
237 B
Nix
13 lines
237 B
Nix
{ config, lib, ... }: let
|
|
inherit (lib) mkIf;
|
|
in {
|
|
services.resolved = mkIf (!config.isServer) {
|
|
enable = true;
|
|
|
|
settings.Resolve = {
|
|
DNS = config.dnsServers;
|
|
DNSSEC = true;
|
|
DNSOverTLS = true;
|
|
};
|
|
};
|
|
}
|