From 4d8cf1bc30a076e2976787051d28d8072f8f5321 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 5 Jun 2026 11:06:02 +0100 Subject: refactor(mail): migrate protonmail-bridge from pacman to nix Move the ProtonMail Bridge off the AUR protonmail-bridge-core package and onto nix/host.nix, consistent with the other migrated user-leaf tools. Since the AUR package previously supplied the systemd user unit (customized via a drop-in), ship a repo-owned dot_config/systemd/user/protonmail-bridge.service instead: it runs the nix binary by absolute %h/.nix-profile/bin path with --noninteractive and folds the former drop-in's PASSWORD_STORE_DIR into the unit, so the now-redundant protonmail-bridge.service.d/override.conf is removed. Drop protonmail-bridge-core from meta/base.txt (the git send-email Perl prereqs stay). No vm.nix change: the bridge is host-only and user units are not symlinked on the headless VM. --- meta/base.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/base.txt b/meta/base.txt index 7b26ce9..756f776 100644 --- a/meta/base.txt +++ b/meta/base.txt @@ -153,7 +153,8 @@ xdg-user-dirs arkenfox-user.js # --- mail (host-side bits the org.mozilla.thunderbird flatpak depends on) --- -protonmail-bridge-core +# protonmail-bridge now comes from nix/host.nix (the bridge binary + its +# repo-owned user unit dot_config/systemd/user/protonmail-bridge.service). # git send-email Perl prereqs (SMTP via local Bridge on 127.0.0.1:1025) perl-authen-sasl perl-mime-tools -- cgit v1.3.1