1 { config, lib, pkgs, ... }:
6 cfg = config.programs.slock;
15 description = lib.mdDoc ''
16 Whether to install slock screen locker with setuid wrapper.
22 config = mkIf cfg.enable {
23 environment.systemPackages = [ pkgs.slock ];
24 security.wrappers.slock =
28 source = "${pkgs.slock.out}/bin/slock";