From 48c708af222cd4120d81565200e046dc3414b3b1 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 4 Dec 2020 12:46:12 +0100 Subject: Update slock --- modules/slock.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/slock.nix (limited to 'modules/slock.nix') 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"; +} -- cgit 1.4.1