Files
dotfiles/nix/overlays.nix
2025-10-13 00:25:34 +01:00

40 lines
787 B
Nix

{
pkgs,
lib,
inputs,
system,
...
}:
let
youtube-music = (
self: super: {
youtube-music = super.youtube-music.overrideAttrs (prev: {
version = "git";
src = pkgs.fetchFromGitHub {
owner = "pear-devs";
repo = "pear-desktop";
tag = "v3.11.0";
sha256 = "sha256-M8YFpeauM55fpNyHSGQm8iZieV0oWqOieVThhglKKPE=";
};
});
}
);
pkgs_gamescope = import inputs.nixpkgs-gamescope {
inherit system;
config = {
allow_unfree = true;
};
};
gamescope_overlay = self: super: {
gamescope =
pkgs_gamescope.callPackage "${inputs.nixpkgs-gamescope}/pkgs/by-name/ga/gamescope/package.nix"
{ };
};
in
{
nixpkgs.overlays = [
gamescope_overlay
youtube-music
];
}