protonmail bridge sucks

This commit is contained in:
mjallen18
2025-11-25 15:35:42 -06:00
parent 001f465153
commit 33c00f0d7c
4 changed files with 23 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
let
shellAliases = {
update-boot = "sudo nixos-rebuild boot --max-jobs 10";
@@ -12,4 +12,21 @@ in
programs = {
zsh.shellAliases = shellAliases;
};
# Configure systemd user service for protonmail-bridge
systemd.user.services.protonmail-bridge = {
Service = {
Environment = [
"GNUPGHOME=/home/admin/.gnupg"
"PASSWORD_STORE_DIR=/home/admin/.local/password-store"
];
};
};
services = {
protonmail-bridge = {
enable = true;
extraPackages = with pkgs; [ pass libsecret ];
};
};
}