Remove old imapnotify modifications
This commit is contained in:
parent
535d21ea68
commit
65955b2757
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, hostName, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [ davmail ];
|
home.packages = with pkgs; [ davmail ];
|
||||||
|
@ -130,14 +130,6 @@
|
||||||
};
|
};
|
||||||
systemd.user.services = let emailAccounts = config.accounts.email.accounts;
|
systemd.user.services = let emailAccounts = config.accounts.email.accounts;
|
||||||
in {
|
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 {
|
protonmail-bridge = lib.mkIf emailAccounts.proton.mbsync.enable {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Podman container-protonmail-bridge.service";
|
Description = "Podman container-protonmail-bridge.service";
|
||||||
|
|
Loading…
Reference in a new issue