diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-12-04 12:46:12 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-12-04 12:46:12 +0100 |
commit | 48c708af222cd4120d81565200e046dc3414b3b1 (patch) | |
tree | 9d335905f92bea03e9baf747cc653bff216342da /modules/slock.nix | |
parent | 3b87be08e7846acd493c95bceb8e13bbea032ffb (diff) | |
download | dots-48c708af222cd4120d81565200e046dc3414b3b1.tar.gz dots-48c708af222cd4120d81565200e046dc3414b3b1.zip |
Update slock
Diffstat (limited to 'modules/slock.nix')
-rw-r--r-- | modules/slock.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/slock.nix b/modules/slock.nix new file mode 100644 index 0000000..df6f23c --- /dev/null +++ b/modules/slock.nix @@ -0,0 +1,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"; +} |