nix-conf/overlays/default.nix

53 lines
1.2 KiB
Nix
Raw Normal View History

2023-07-27 14:19:06 +02:00
{ prismlauncher, nur, self, ... }:
2023-07-26 21:07:59 +02:00
{
nixpkgs = {
config.allowUnfree = true;
overlays = [
prismlauncher.overlays.default
nur.overlay
2023-07-27 14:19:06 +02:00
(_self: super: {
2023-07-26 21:07:59 +02:00
2023-07-27 14:19:06 +02:00
tela-icon-theme = super.tela-icon-theme.overrideAttrs (_old: {
2023-07-27 13:30:48 +02:00
src = self.inputs.tela-icon-theme;
2023-07-26 21:07:59 +02:00
});
prismlauncher = super.prismlauncher.overrideAttrs (old: {
patches = (old.patches or []) ++ [
2023-07-27 13:30:48 +02:00
self.inputs.prism-game-options-patch
self.inputs.prism-ftb-patch
2023-07-26 21:07:59 +02:00
];
});
libadwaita = super.libadwaita.overrideAttrs (old: {
patches = (old.patches or []) ++ [
2023-07-27 13:28:24 +02:00
../patches/adwaita-theming-support.patch
2023-07-26 21:07:59 +02:00
];
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";
};
})
];
};
2023-07-27 13:30:48 +02:00
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
};
2023-07-26 21:07:59 +02:00
system.stateVersion = "23.05";
}