[Nix-dev] help with patch for screen locking

david at zarel.net david at zarel.net
Tue Feb 7 20:38:30 CET 2017


On 2017-02-07 19:50, Tomasz Czyż wrote:
> David,
> 
> 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
> environment.

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?


More information about the nix-dev mailing list