lol

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

+5 -5
+1 -1
nixos/modules/services/networking/avahi-daemon.nix
··· 272 272 273 273 users.groups.avahi = { }; 274 274 275 - system.nssModules = optional cfg.nssmdns pkgs.nssmdns; 275 + system.nssModules = optional (cfg.nssmdns4 || cfg.nssmdns6) pkgs.nssmdns; 276 276 system.nssDatabases.hosts = let 277 277 mdnsMinimal = if (cfg.nssmdns4 && cfg.nssmdns6) then 278 278 "mdns_minimal"
+1 -1
nixos/tests/avahi.nix
··· 16 16 cfg = { ... }: { 17 17 services.avahi = { 18 18 enable = true; 19 - nssmdns = true; 19 + nssmdns4 = true; 20 20 publish.addresses = true; 21 21 publish.domain = true; 22 22 publish.enable = true;
+1 -1
nixos/tests/guix/publish.nix
··· 16 16 # substitute server which requires Avahi. 17 17 services.avahi = { 18 18 enable = true; 19 - nssmdns = true; 19 + nssmdns4 = true; 20 20 publish = { 21 21 enable = true; 22 22 userServices = true;
+1 -1
pkgs/applications/misc/keylight-controller-mschneider82/default.nix
··· 37 37 longDescription = '' 38 38 Requires having: 39 39 * Elgato's Keylight paired to local wifi network. 40 - * Service avahi with nssmdns enabled. 40 + * Service avahi with nssmdns4 enabled. 41 41 ''; 42 42 license = licenses.mit; 43 43 homepage = "https://github.com/mschneider82/keylight-control";
+1 -1
pkgs/misc/drivers/epson-escpr/default.nix
··· 42 42 hostname resolvable: 43 43 services.avahi = { 44 44 enable = true; 45 - nssmdns = true; 45 + nssmdns4 = true; 46 46 };''; 47 47 license = licenses.gpl3Plus; 48 48 maintainers = with maintainers; [ artuuge ];