mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
optimize gnome-console-tweaks logic
This commit is contained in:
parent
bdeff9d709
commit
2a25f96d61
1 changed files with 5 additions and 8 deletions
|
@ -1,18 +1,15 @@
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(self: super: {
|
(self: super: {
|
||||||
gnome-console = super.gnome-console.overrideAttrs (prev: {
|
gnome-console = super.gnome-console.overrideAttrs (
|
||||||
patches =
|
{ patches ? [ ], ... }: {
|
||||||
(
|
patches = patches ++ [
|
||||||
if (builtins.elem "patches" (builtins.attrNames prev))
|
|
||||||
then prev.patches
|
|
||||||
else [ ]
|
|
||||||
) ++ [
|
|
||||||
./no-notification.patch
|
./no-notification.patch
|
||||||
./no-warn-close.patch
|
./no-warn-close.patch
|
||||||
./tango.patch
|
./tango.patch
|
||||||
];
|
];
|
||||||
});
|
}
|
||||||
|
);
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue