nixos/yubikey-agent: fix eval error

This has been refactored in https://github.com/NixOS/nixpkgs/
pull/133542, but this reference wasn't updated.
This commit is contained in:
Florian Klink 2024-03-10 19:03:57 +02:00
parent 3f61120136
commit b437b19f54
1 changed files with 1 additions and 1 deletions

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