Remove protonmail-bridge service, run with hyprctl instead

systemd service wasn't working right with user permissions...
This commit is contained in:
Evie Litherland-Smith 2024-02-03 07:21:50 +00:00
parent ddde145313
commit c47f11c04d
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,7 @@
hostName, hostName,
... ...
}: { }: {
home.packages = with pkgs; [protonmail-bridge];
accounts.email = { accounts.email = {
maildirBasePath = "Mail"; maildirBasePath = "Mail";
accounts = let accounts = let
@ -132,7 +133,7 @@
systemd.user.services = let systemd.user.services = let
emailAccounts = config.accounts.email.accounts; emailAccounts = config.accounts.email.accounts;
in { in {
protonmail-bridge = lib.mkIf emailAccounts.proton.mbsync.enable { protonmail-bridge = lib.mkIf false {
Unit = { Unit = {
Description = "Proton Mail Bridge"; Description = "Proton Mail Bridge";
Wants = ["network-online.target"]; Wants = ["network-online.target"];

View file

@ -90,6 +90,7 @@
"${pkgs.swaynotificationcenter}/bin/swaync" "${pkgs.swaynotificationcenter}/bin/swaync"
"${pkgs.hyprpaper}/bin/hyprpaper" "${pkgs.hyprpaper}/bin/hyprpaper"
"${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1" "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"
"${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
]; ];
gestures.workspace_swipe = true; gestures.workspace_swipe = true;
input = { input = {