Update README, remove leftover protonmail-bridge service

This commit is contained in:
Evie Litherland-Smith 2024-02-03 07:26:29 +00:00
parent c47f11c04d
commit 6dbf6806b2
2 changed files with 2 additions and 16 deletions

View file

@ -24,9 +24,9 @@ Run bridge in CLI mode to login, wait for initial sync and get app password
# Follow prompts to login and get password
#+end_src
Restart ~systemd~ service:
Restart using ~hyprctl~:
#+begin_src bash
systemctl --user restart protonmail-bridge.service
nix shell nixpkgs#protonmail-bridge -c hyprctl dispatch exec "protonmail-bridge -n"
#+end_src
**** uidvalidity issue
+Remove uid lines from .mbsyncrc (in each mail directory) and delete .uidvalidity, re-run mbsync to fix+

View file

@ -5,7 +5,6 @@
hostName,
...
}: {
home.packages = with pkgs; [protonmail-bridge];
accounts.email = {
maildirBasePath = "Mail";
accounts = let
@ -133,19 +132,6 @@
systemd.user.services = let
emailAccounts = config.accounts.email.accounts;
in {
protonmail-bridge = lib.mkIf false {
Unit = {
Description = "Proton Mail Bridge";
Wants = ["network-online.target"];
After = ["network-online.target"];
};
Service = {
Environment = ["PATH=/run/current-system/sw/bin/:$PATH"];
Restart = "always";
ExecStart = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n";
};
Install.WantedBy = ["default.target"];
};
davmail = lib.mkIf emailAccounts.outlook.mbsync.enable {
Unit = {
Description = "Davmail server";