NixOS specialisation theme switching needs root every time
Theme switching via NixOS specialisations (<profile>/specialisation/<name>/bin/switch-to-configuration switch) always needs root, so a GUI launcher entry prompts for the admin password on every switch. A polkit rule to skip it is unsafe: pkexec resolves the path into /nix/store, so the rule would have to match any *-nixos-system-*/bin/switch-to-configuration, and any user process can build such a derivation and get passwordless root. The safe options are a sudoers NOPASSWD rule pinned to the root-owned profile path, or Home Manager specialisations (activated as the user, no root) when everything themed lives in home. For a two-theme setup the user judged all of this overkill and went back to one hardcoded scheme; weigh that before building a switcher.