Files
dotfiles/nix/overlays.nix

54 lines
1.2 KiB
Nix

{
pkgs,
lib,
inputs,
system,
...
}:
let
arrpc_overlay = (
self: super: {
arrpc = super.arrpc.overrideAttrs (prev: {
version = "git";
src = pkgs.fetchFromGitHub {
owner = "Doloro1978";
repo = "arrpc";
tag = "tag3";
sha256 = "sha256-9Tnw/BmIAA+RPAfhHFv0kenrRdoxJuUw3iRjKykGxdE=";
};
});
}
);
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 = [
# arrpc_overlay # idk i flake update and it doesnt wanna
gamescope_overlay
youtube-music
];
}