Fix screen locker.
This commit is contained in:
parent
44c93e4d49
commit
121050b0f6
16
i3.nix
16
i3.nix
@ -79,4 +79,20 @@
|
|||||||
services.dbus.packages = with pkgs; [ dunst ];
|
services.dbus.packages = with pkgs; [ dunst ];
|
||||||
systemd.packages = [ pkgs.dunst ];
|
systemd.packages = [ pkgs.dunst ];
|
||||||
|
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/157112
|
||||||
|
nixpkgs.config.packageOverrides = prev:
|
||||||
|
let
|
||||||
|
patchedPkgs = import (builtins.fetchTarball {
|
||||||
|
url = "https://github.com/nixos/nixpkgs/archive/ffdadd3ef9167657657d60daf3fe0f1b3176402d.tar.gz";
|
||||||
|
sha256 = "1nrz4vzjsf3n8wlnxskgcgcvpwaymrlff690f5njm4nl0rv22hkh";
|
||||||
|
}) {
|
||||||
|
inherit (prev) system config;
|
||||||
|
# inherit (prev) overlays; # not sure
|
||||||
|
};
|
||||||
|
patchedPam = patchedPkgs.pam;
|
||||||
|
in {
|
||||||
|
i3lock = prev.i3lock.override { pam = patchedPam; };
|
||||||
|
i3lock-color = prev.i3lock-color.override { pam = patchedPam; };
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user