1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-10-22 04:57:26 +02:00

pass-secret-service: add GNUPGHOME to service env vars

This is nescesarry for non-default locations, and without it, many
programs like element-desktop break in very confusing ways.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2024-10-04 09:19:02 +02:00 committed by GitHub
parent 437ec62009
commit 30e04f3d47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,6 +58,7 @@ in {
optionalString (cfg.storePath != null) "--path ${cfg.storePath}"
}";
BusName = busName;
Environment = [ "GNUPGHOME=${config.programs.gpg.homedir}" ];
};
Install.WantedBy = [ "default.target" ];