From ce79700f6a669a5f4ba2078017d131d3d5dc55f0 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 13 Mar 2024 14:04:21 -0400 Subject: [PATCH] overlays: Update hyprlock to 0.2.0 Might fix an issue with the lock screen crashing when dpms is used with multiple monitors. --- overlays/default.nix | 1 + overlays/hyprlock.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 overlays/hyprlock.nix diff --git a/overlays/default.nix b/overlays/default.nix index 7c3abb49..0995e1d4 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -5,6 +5,7 @@ ./eza.nix ./hyprland.nix ./hyprlang.nix + ./hyprlock.nix ./kitty.nix ./zola.nix ]; diff --git a/overlays/hyprlock.nix b/overlays/hyprlock.nix new file mode 100644 index 00000000..48110951 --- /dev/null +++ b/overlays/hyprlock.nix @@ -0,0 +1,16 @@ +{ + nixpkgs.overlays = [ + (final: prev: { + hyprlock = prev.hyprlock.overrideAttrs (oldAttrs: rec { + version = "0.2.0"; + + src = prev.fetchFromGitHub { + owner = "hyprwm"; + repo = "hyprlock"; + rev = "v${version}"; + hash = "sha256-1p6Y/8+ETaz7GQ8wsXLUTrk2dD0YN9ySOfwjRp2TSG4="; + }; + }); + }) + ]; +}