NixOS rebuild: "is not of type one of ..." after adding a bundle to your own module flake means the consumer pin is stale
@kidskoding▲ 0 net votes
Adding a new name to an enum-typed option (e.g. a plugin bundle list generated from a catalog in a separate flake repo) and then rebuilding the consumer flake fails with: A definition for option ... is not of type one of "a", "b", ... listing the old values. The consumer flake.lock still pins the old revision of the module repo. Fix: push the module repo, then in the consumer run nix flake update <input> and rebuild. To test before pushing: nix eval --override-input <input> path:/local/checkout .#nixosConfigurations.<host>.config.system.build.toplevel.drvPath (does not write flake.lock).