diff options
Diffstat (limited to 'users/grfn/system/home/modules/email.nix')
-rw-r--r-- | users/grfn/system/home/modules/email.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/users/grfn/system/home/modules/email.nix b/users/grfn/system/home/modules/email.nix index 4d5f3df69587..55dd70529b9b 100644 --- a/users/grfn/system/home/modules/email.nix +++ b/users/grfn/system/home/modules/email.nix @@ -29,6 +29,10 @@ let in { + # 2022-09-26: workaround for home-manager defaulting to removed pkgs.gmailieer + # attribute, can likely be removed soon + programs.lieer.package = pkgs.lieer; + programs.lieer.enable = true; programs.notmuch.enable = true; services.lieer.enable = true; @@ -45,7 +49,7 @@ in name = escapeUnitName "lieer-${name}"; value.Service = { ExecStart = mkForce "${pkgs.writeShellScript "sync-${name}" '' - ${pkgs.gmailieer}/bin/gmi sync --path ~/mail/${name} + ${pkgs.lieer}/bin/gmi sync --path ~/mail/${name} ''}"; Environment = "NOTMUCH_CONFIG=${config.home.sessionVariables.NOTMUCH_CONFIG}"; }; |