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 ];
};
};
}

View File

@@ -1,10 +1,14 @@
{
config,
lib,
pkgs,
namespace,
...
}:
{
#services.gnome-keyring.enable = false;
#home.packages = [ pkgs.gcr ];
services.pass-secret-service = {
enable = true;
};

View File

@@ -18,19 +18,7 @@ in
chmod -R 750 ${config.services.home-assistant.configDir}
'';
# Configure systemd user service for protonmail-bridge
systemd.user.services.protonmail-bridge = {
environment = {
GNUPGHOME = "%h/.gnupg";
PASSWORD_STORE_DIR = "%h/.local/password-store";
};
};
services = {
protonmail-bridge = {
enable = true;
path = with pkgs; [ pass libsecret gnome-keyring ];
};
matter-server = {
enable = true;
port = 5580;

View File

@@ -44,7 +44,7 @@
services = {
yubikey-agent.enable = true;
passSecretService.enable = true;
passSecretService.enable = false;
pcscd.enable = true;
};