On 2017-02-07 19:50, Tomasz Czyż wrote:

I assume you are not talking about
https://github.com/NixOS/nixpkgs/issues/16485 [2]?

In fact I'm talking about https://github.com/NixOS/nixpkgs/issues/16845 :-) my mistake

Usually I'm using this kind of stuff as part of user session/desktop

Exactly, the actual screenlocker would be installed as a system package, I thought it was okay because I noticed something like that was already present in xfce.nix, but maybe we can adapt xfce4-session to accept a new build input and change it so that it calls the screenlocker in the nix store instead of calling the system package.

With regards to slock: maybe we can ask the user to explicitly enable the suid like we do when a user tries to install a non-free package?
nix-dev mailing list

Reply via email to