update and fix swaylock-effects

This commit is contained in:
twoneis 2024-09-03 04:44:31 +02:00
parent ca66e2483b
commit e2107f3a28
2 changed files with 6 additions and 4 deletions

6
flake.lock generated
View file

@ -1061,11 +1061,11 @@
},
"nur": {
"locked": {
"lastModified": 1725274059,
"narHash": "sha256-9AZC8u5BFt0FMNWGW9DY1+Z+R/teN2tES8ceyyTJ7bg=",
"lastModified": 1725328589,
"narHash": "sha256-q3y51smwvCjDX2lP/jg5P0efzrEvzhpPlwOWpcVACW0=",
"owner": "nix-community",
"repo": "nur",
"rev": "94df8a3be3256eb09f8c114be4df62c62a7c4d1d",
"rev": "99765be7f684f17616ceb6ab8f5accbd1ac42452",
"type": "github"
},
"original": {

View file

@ -62,7 +62,9 @@ in {
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;
package = (pkgs.swaylock-effects.overrideAttrs (final: prev: {
buildInputs = prev.buildInputs ++ [ pkgs.wayland-scanner ];
}));
settings = import ./swaylock.conf.nix { lib = lib; config = config; };
};