nix-conf/overlays/default.nix
2023-12-30 23:39:33 +01:00

45 lines
1.2 KiB
Nix

{ prismlauncher, nur, self, config, ... }:
{
nixpkgs = {
config.allowUnfree = true;
overlays = [
prismlauncher.overlays.default
nur.overlay
(_self: super: rec {
tela-icon-theme = super.tela-icon-theme.overrideAttrs
(_old: { src = self.inputs.tela-icon-theme; });
prismlauncher = super.prismlauncher.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
self.inputs.prism-game-options-patch
../patches/prism-ftb.patch
];
});
#noto-fonts-color-emoji = pkgs.noto-fonts-color-emoji_withExtraFlags;
libadwaita = super.libadwaita.overrideAttrs (old: {
patches = (old.patches or [ ])
++ [ ../patches/adwaita-theming-support.patch ];
doCheck = false;
});
discord = (super.discord.overrideAttrs (old: {
desktopItem = old.desktopItem.override
(old: { exec = old.exec + " --disable-gpu-sandbox"; });
})).override {
withOpenASAR = true;
withVencord = true;
withTTS = true;
};
catppuccin-plymouth =
super.catppuccin-plymouth.override { variant = "frappe"; };
})
];
};
}