mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
Merge pull request #78423 from edef1c/gnupg-package
nixos/gnupg: actually use the configured gpg package
This commit is contained in:
commit
7e9b1564e6
@ -96,7 +96,7 @@ in
|
|||||||
# This overrides the systemd user unit shipped with the gnupg package
|
# This overrides the systemd user unit shipped with the gnupg package
|
||||||
systemd.user.services.gpg-agent = mkIf (cfg.agent.pinentryFlavor != null) {
|
systemd.user.services.gpg-agent = mkIf (cfg.agent.pinentryFlavor != null) {
|
||||||
serviceConfig.ExecStart = [ "" ''
|
serviceConfig.ExecStart = [ "" ''
|
||||||
${pkgs.gnupg}/bin/gpg-agent --supervised \
|
${cfg.package}/bin/gpg-agent --supervised \
|
||||||
--pinentry-program ${pkgs.pinentry.${cfg.agent.pinentryFlavor}}/bin/pinentry
|
--pinentry-program ${pkgs.pinentry.${cfg.agent.pinentryFlavor}}/bin/pinentry
|
||||||
'' ];
|
'' ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user