diff options
Diffstat (limited to 'modules/by-name/re/resolvconf/module.nix')
| -rw-r--r-- | modules/by-name/re/resolvconf/module.nix | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |
