From 5346e2e8b32d31ced69404b92819170907259091 Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Sat, 31 Oct 2026 10:23:45 +0100 Subject: modules/{coredump,dhcpcd,nscd,oomd,resolvconf}: Reference the nixpkgs options instead of copying default values --- modules/by-name/re/resolvconf/module.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/by-name/re/resolvconf/module.nix') diff --git a/modules/by-name/re/resolvconf/module.nix b/modules/by-name/re/resolvconf/module.nix index ff99696..69bd6fb 100644 --- a/modules/by-name/re/resolvconf/module.nix +++ b/modules/by-name/re/resolvconf/module.nix @@ -6,8 +6,7 @@ cfg = config.vhack.resolvconf; in { options.vhack.resolvconf = { - # NOTE(@bpeetz): This condition is taken directly from NixOS. <2024-12-25> - enable = lib.mkEnableOption "resolvconf" // {default = !(config.environment.etc ? "resolv.conf");}; + enable = lib.mkEnableOption "resolvconf" // {default = config.networking.resolvconf.enable;}; }; config = lib.mkIf cfg.enable { -- cgit v1.3.1