Wshowkeys setuid issue

❯ wshowkeys
wshowkeys needs to be setuid to read input events

Did you use the proper nixos option?

https://search.nixos.org/options?channel=25.05&show=programs.wshowkeys.enable&query=wshowkeys

Nix doesn’t support suid, so you have to use security.wrappers or a module option that uses it.

I thought that wshowkeys doesn’t have programs.wshowkeys.enable option because it’s not popular and that last commit was done 4 years ago.
Now, I know that program can have option even if it’s not that popular and commit was done 4 years ago.

Even if there was no option, as said, you would need to use security.wrappers - i.e. basically recreating the contents of said module.