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 = [
|
||||
(self: super: {
|
||||
gnome-console = super.gnome-console.overrideAttrs (prev: {
|
||||
patches =
|
||||
(
|
||||
if (builtins.elem "patches" (builtins.attrNames prev))
|
||||
then prev.patches
|
||||
else [ ]
|
||||
) ++ [
|
||||
gnome-console = super.gnome-console.overrideAttrs (
|
||||
{ patches ? [ ], ... }: {
|
||||
patches = patches ++ [
|
||||
./no-notification.patch
|
||||
./no-warn-close.patch
|
||||
./tango.patch
|
||||
];
|
||||
});
|
||||
}
|
||||
);
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue