diff --git a/modules/gnome-console-tweaks/default.nix b/modules/gnome-console-tweaks/default.nix index 096d003..bf303d3 100644 --- a/modules/gnome-console-tweaks/default.nix +++ b/modules/gnome-console-tweaks/default.nix @@ -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 ]; - }); + } + ); }) ]; }