Merge pull request #294771 from flokli/yubikey-agent-eval

nixos/yubikey-agent: fix eval error
This commit is contained in:
Sandro 2024-03-11 00:15:31 +01:00 committed by GitHub
commit 88c9f04d1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ in
# This overrides the systemd user unit shipped with the
# yubikey-agent package
systemd.user.services.yubikey-agent = mkIf (pinentryFlavor != null) {
systemd.user.services.yubikey-agent = mkIf (config.programs.gnupg.agent.pinentryPackage != null) {
path = [ config.programs.gnupg.agent.pinentryPackage ];
wantedBy = [ "default.target" ];
};