Remove old imapnotify modifications

This commit is contained in:
Evie Litherland-Smith 2023-12-18 06:49:33 +00:00
parent 535d21ea68
commit 65955b2757

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, hostName, ... }:
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [ davmail ];
@ -130,14 +130,6 @@
};
systemd.user.services = let emailAccounts = config.accounts.email.accounts;
in {
imapnotify-proton.Unit = lib.mkIf emailAccounts.proton.imapnotify.enable {
Wants = [ "protonmail-bridge.service" ];
After = [ "protonmail-bridge.service" ];
};
imapnotify-outlook.Unit = lib.mkIf emailAccounts.outlook.imapnotify.enable {
Wants = [ "davmail.service" ];
After = [ "davmail.service" ];
};
protonmail-bridge = lib.mkIf emailAccounts.proton.mbsync.enable {
Unit = {
Description = "Podman container-protonmail-bridge.service";