overlays: add gale overlay

nix: add gale input overlay
This commit is contained in:
notohh 2025-07-01 00:21:03 -04:00
commit f24c946bab
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 35 additions and 1 deletions
hosts/common
overlays

View file

@ -7,6 +7,7 @@
nixpkgs = {
overlays = [
inputs.self.overlays.technorino
inputs.self.overlays.gale
inputs.nur.overlays.default
inputs.helix.overlays.default
inputs.hyprpanel.overlay

View file

@ -1,3 +1,6 @@
_: {
imports = [./technorino.nix];
imports = [
./technorino.nix
./gale.nix
];
}

30
overlays/gale.nix Normal file
View file

@ -0,0 +1,30 @@
_: {
flake.overlays.gale = prev: {
gale = prev.gale.overrideAttrs (n: let
version = "1.8.3";
in {
src = prev.fetchFromGitHub {
inherit version;
owner = "Kesomannen";
repo = "gale";
rev = "1.8.3";
hash = "sha256-tCtWPr5f37J+VfdpwIi6YoNaKS4LjBE9eLFuCuWBkPc=";
};
npmDeps = prev.fetchNpmDeps {
hash = "sha256-vR66MdNbUzqklivSNqoklQ0CCdH1VfHcgiI+Y7MOkvA=";
name = "${n.pname}-${n.version}-npm-deps";
inherit (n) src;
};
cargoDeps = prev.rustPlatform.fetchCargoVendor {
inherit
(n)
pname
version
src
cargoRoot
;
hash = "sha256-oAEzL4lEqF5lWVsnnDpOgGTtcQDUI0nuur72Gl49EGk=";
};
});
};
}