On Пятница 25 ноября 2011 18:16:51 Peter Simons wrote: > Hi Alexander, > > > misc/screensavers/slock: New nixpkg. > > I tried to run slock (because it's really quite small!), but I get the > following error message: > > $ slock > slock: cannot retrieve password entry (make sure to suid slock) > > Do you have an idea how to remedy that issue (preferably in a way that > doesn't require slock to run as root)?
This is how I made kde screen locking work: security.setuidOwners = singleton { program = "kcheckpass"; source = "${pkgs.kde4.kdebase_workspace}/lib/kde4/libexec/kcheckpass"; owner = "root"; group = "root"; setuid = true; }; I assume this is a similar case. -- Evgeny _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev