Fix Gmail tray OAuth at login

This commit is contained in:
2026-04-27 12:53:33 -07:00
parent 92637b30e4
commit 975c9701ce
3 changed files with 128 additions and 2 deletions

View File

@@ -2,6 +2,20 @@
makeEnable config "myModules.notifications-tray-icon" true {
nixpkgs.overlays = [
inputs.notifications-tray-icon.overlays.default
(final: prev: {
haskellPackages = prev.haskellPackages.override (old: {
overrides = final.lib.composeExtensions (old.overrides or (_: _: {}))
(hself: hsuper: {
notifications-tray-icon = final.haskell.lib.overrideCabal
hsuper.notifications-tray-icon
(oldAttrs: {
patches = (oldAttrs.patches or []) ++ [
./patches/notifications-tray-icon-gmail-oauth-detached-browser.patch
];
});
});
});
})
];
home-manager.users.imalison = { config, ... }: let