mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-06 11:56:33 +01:00
52 lines
1.2 KiB
Nix
52 lines
1.2 KiB
Nix
{ prismlauncher, nur, self, ... }:
|
|
|
|
{
|
|
nixpkgs = {
|
|
config.allowUnfree = true;
|
|
|
|
overlays = [
|
|
prismlauncher.overlays.default
|
|
nur.overlay
|
|
|
|
(_self: super: {
|
|
|
|
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
|
|
self.inputs.prism-ftb-patch
|
|
];
|
|
});
|
|
|
|
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";
|
|
};
|
|
})
|
|
];
|
|
};
|
|
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
};
|
|
|
|
system.stateVersion = "23.05";
|
|
}
|