diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-10-31 10:23:45 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 00:28:58 +0100 |
| commit | 5346e2e8b32d31ced69404b92819170907259091 (patch) | |
| tree | 6c6f472bc427c3808d07a952b138ecc1d6a27b6c /modules/by-name/re | |
| parent | modules: Rename back to `by-name` (diff) | |
| download | nixos-server-5346e2e8b32d31ced69404b92819170907259091.zip | |
modules/{coredump,dhcpcd,nscd,oomd,resolvconf}: Reference the nixpkgs options instead of copying default values
Diffstat (limited to 'modules/by-name/re')
| -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 { |
