mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
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
This commit is contained in:
parent
e97b3e4186
commit
1c09cb43ce
5 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue