blob: df6f23cca1760a50bc2df26d8261d5bb0d4085b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ pkgs, ... }:
let
slock = pkgs.slock.overrideAttrs(oldAttrs: {
buildInputs = oldAttrs.buildInputs ++ [
# pkgs.imlib2
# pkgs.linux-pam
pkgs.xlibs.libXinerama
];
patches = [
# ../platforms/linux/xorg/slock/slock-pam_auth-20190207-35633d4.diff
../platforms/linux/xorg/slock/slock-capscolor-20170106-2d2a21a.diff
../platforms/linux/xorg/slock/slock-dpms-1.4.diff
];
});
in {
environment.systemPackages = [ slock ];
security.wrappers.slock.source = "${slock}/bin/slock";
}
|