diff options
author | Florian Klink <flokli@flokli.de> | 2023-12-11 09:33:11 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2023-12-11 09:36:15 +0200 |
commit | 1c09cb43cea8bee1fd8c4d629fab80f6582f2eeb (patch) | |
tree | 6580a5ecdc1b3b9ee586d028e5f7b5463b9ab51d /nixos/modules | |
parent | e97b3e4186bcadf0ef1b6be22b8558eab1cdeb5d (diff) | |
download | nixlib-1c09cb43cea8bee1fd8c4d629fab80f6582f2eeb.tar nixlib-1c09cb43cea8bee1fd8c4d629fab80f6582f2eeb.tar.gz nixlib-1c09cb43cea8bee1fd8c4d629fab80f6582f2eeb.tar.bz2 nixlib-1c09cb43cea8bee1fd8c4d629fab80f6582f2eeb.tar.lz nixlib-1c09cb43cea8bee1fd8c4d629fab80f6582f2eeb.tar.xz nixlib-1c09cb43cea8bee1fd8c4d629fab80f6582f2eeb.tar.zst nixlib-1c09cb43cea8bee1fd8c4d629fab80f6582f2eeb.zip |
nixos/avahi: rename remaining config options
services.avahi.nssmdns got split into services.avahi.nssmdns{4,6}, nothing should access the old alias anymore so there's no eval warnings. Reported in https://github.com/NixOS/nixpkgs/pull/258424#issuecomment-1849428869
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/avahi-daemon.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix index 4bf5badfa1f4..89b30996e8fa 100644 --- a/nixos/modules/services/networking/avahi-daemon.nix +++ b/nixos/modules/services/networking/avahi-daemon.nix @@ -272,7 +272,7 @@ in users.groups.avahi = { }; - system.nssModules = optional cfg.nssmdns pkgs.nssmdns; + system.nssModules = optional (cfg.nssmdns4 || cfg.nssmdns6) pkgs.nssmdns; system.nssDatabases.hosts = let mdnsMinimal = if (cfg.nssmdns4 && cfg.nssmdns6) then "mdns_minimal" |