diff options
author | Florian Klink <flokli@flokli.de> | 2024-03-10 19:03:57 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2024-03-10 19:08:23 +0200 |
commit | b437b19f54717c8f18d1b22c02448a7a52946648 (patch) | |
tree | 7d8b74be903514c9c47ac71f75457cf93ddf5d03 /nixos/modules/services/security | |
parent | 3f61120136fcd9410fc5b829c583325193623909 (diff) |
nixos/yubikey-agent: fix eval error
This has been refactored in https://github.com/NixOS/nixpkgs/ pull/133542, but this reference wasn't updated.
Diffstat (limited to 'nixos/modules/services/security')
-rw-r--r-- | nixos/modules/services/security/yubikey-agent.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/security/yubikey-agent.nix b/nixos/modules/services/security/yubikey-agent.nix index bf8432a00238f..3d5f84af2cf48 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" ]; }; |