Set avahi's publish options in whichever spelling nixpkgs has #23
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-avahi-rename"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Evaluating the ISO's NixOS config on main fails with
The option `services.avahi.settings' does not exist(fromnix/remote.nix).Cause.
93531b5("Evaluate without warnings") switched remote.nix fromservices.avahi.publish.*toservices.avahi.settings.publish.*to match a newer nixpkgs. fjordxy's own locked nixpkgs is older than that rename, so the new names don't exist there. Anything that evaluates the mdns profile against the lock fails, the ISO included.Fix. remote.nix checks
options.services.avahi ? settingsand sets the publish options in whichever form is declared. Consumers bring their own nixpkgs, which can be on either side of the rename, so remote.nix should handle both even after the lock moves. The check mirrors the existingidentityguard in the same file. Behaviour doesn't change: publishing, addresses and workstation are all on, each as anmkDefault.Verified
remote.mdns.enable) evaluates to a toplevel drv.services.avahi.publishisenable/addresses/workstation = true, with no avahi warnings.settings.publishwithdisable-publishing = false,publish-addresses = trueandpublish-workstation = true, with no avahi warnings.Separate from #22 (dev-config recursion).
🤖 Generated with Claude Code