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="; + }; + }); + }) + ]; +}