I wasn’t able to find any information about this specific issues, but whenever I set security.polkit.enable to true and try to rebuild my config I get the following error:
Neither of those are implementations of polkit, use the default package (i.e., simply don’t set the package).
The agent should be configured by your desktop environment; if you’re using KDE you don’t need to do anything else, it’s set up by default. I don’t know about hyprland and generally don’t help people with that project.
Thank you! Removing the package parameter worked like a charm.
I returned to NixOS after a while, because I missed the declarativity of it so I just used my old config where I had the package set.
I’m no way proficient in Nix, so I guess I just assumed that package is needed. And because it worked in my old config, I was confused why it is not working now.