Slock

From NixOS Wiki
Revision as of 12:03, 1 July 2017 by imported>Fadenb (Created page with "== Setup == === cannot disable the out-of-memory killer for this process === slock requires root for accessing passwords and protecting itself from OOM killing. To fix this er...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Setup

cannot disable the out-of-memory killer for this process

slock requires root for accessing passwords and protecting itself from OOM killing. To fix this error, add slock to your system packages and setuidPrograms by modifying your global configuration.nix like so:

environment.systemPackages = with pkgs; [ slock ];
security.setuidPrograms = [ "slock" ];