From b437b19f54717c8f18d1b22c02448a7a52946648 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 10 Mar 2024 19:03:57 +0200 Subject: [PATCH] nixos/yubikey-agent: fix eval error This has been refactored in https://github.com/NixOS/nixpkgs/ pull/133542, but this reference wasn't updated. --- nixos/modules/services/security/yubikey-agent.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/security/yubikey-agent.nix b/nixos/modules/services/security/yubikey-agent.nix index bf8432a00238..3d5f84af2cf4 100644 --- a/nixos/modules/services/security/yubikey-agent.nix +++ b/nixos/modules/services/security/yubikey-agent.nix @@ -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" ]; };