System/modules/linux/services/resolved.nix

12 lines
281 B
Nix

{ config, lib, pkgs, ... }:
with lib; {
config = mkIf config.nathan.services.resolved.enable {
services.resolved = {
enable = true;
domains = config.nathan.services.resolved.domains;
fallbackDns = config.nathan.services.resolved.nameservers;
};
};
}