mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 21:39:23 +02:00
Move overlays into a module
This commit is contained in:
parent
eca4dcf216
commit
01b8e0a8ef
2 changed files with 54 additions and 65 deletions
52
overlays/default.nix
Normal file
52
overlays/default.nix
Normal file
|
@ -0,0 +1,52 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs = {
|
||||
config.allowUnfree = true;
|
||||
|
||||
overlays = [
|
||||
prismlauncher.overlays.default
|
||||
nur.overlay
|
||||
|
||||
(self: super: {
|
||||
|
||||
tela-icon-theme = super.tela-icon-theme.overrideAttrs (old: {
|
||||
src = inputs.tela-icon-theme;
|
||||
});
|
||||
|
||||
prismlauncher = super.prismlauncher.overrideAttrs (old: {
|
||||
patches = (old.patches or []) ++ [
|
||||
inputs.prism-game-options-patch
|
||||
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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue