Update README, remove leftover protonmail-bridge service
This commit is contained in:
parent
c47f11c04d
commit
6dbf6806b2
|
@ -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
|
# Follow prompts to login and get password
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Restart ~systemd~ service:
|
Restart using ~hyprctl~:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
systemctl --user restart protonmail-bridge.service
|
nix shell nixpkgs#protonmail-bridge -c hyprctl dispatch exec "protonmail-bridge -n"
|
||||||
#+end_src
|
#+end_src
|
||||||
**** uidvalidity issue
|
**** uidvalidity issue
|
||||||
+Remove uid lines from .mbsyncrc (in each mail directory) and delete .uidvalidity, re-run mbsync to fix+
|
+Remove uid lines from .mbsyncrc (in each mail directory) and delete .uidvalidity, re-run mbsync to fix+
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
hostName,
|
hostName,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
home.packages = with pkgs; [protonmail-bridge];
|
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
maildirBasePath = "Mail";
|
maildirBasePath = "Mail";
|
||||||
accounts = let
|
accounts = let
|
||||||
|
@ -133,19 +132,6 @@
|
||||||
systemd.user.services = let
|
systemd.user.services = let
|
||||||
emailAccounts = config.accounts.email.accounts;
|
emailAccounts = config.accounts.email.accounts;
|
||||||
in {
|
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 {
|
davmail = lib.mkIf emailAccounts.outlook.mbsync.enable {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Davmail server";
|
Description = "Davmail server";
|
||||||
|
|
Loading…
Reference in a new issue