about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-03-10 19:03:57 +0200
committerFlorian Klink <flokli@flokli.de>2024-03-10 19:08:23 +0200
commitb437b19f54717c8f18d1b22c02448a7a52946648 (patch)
tree7d8b74be903514c9c47ac71f75457cf93ddf5d03 /nixos
parent3f61120136fcd9410fc5b829c583325193623909 (diff)
downloadnixlib-b437b19f54717c8f18d1b22c02448a7a52946648.tar
nixlib-b437b19f54717c8f18d1b22c02448a7a52946648.tar.gz
nixlib-b437b19f54717c8f18d1b22c02448a7a52946648.tar.bz2
nixlib-b437b19f54717c8f18d1b22c02448a7a52946648.tar.lz
nixlib-b437b19f54717c8f18d1b22c02448a7a52946648.tar.xz
nixlib-b437b19f54717c8f18d1b22c02448a7a52946648.tar.zst
nixlib-b437b19f54717c8f18d1b22c02448a7a52946648.zip
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')
-rw-r--r--nixos/modules/services/security/yubikey-agent.nix2
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 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" ];
     };