mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
Merge pull request #215740 from supermarin/patch-3
nixos/yubikey-agent: Add dependency to pcsd.service
This commit is contained in:
commit
a9335078db
|
@ -57,6 +57,9 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
# Yubikey-agent expects pcsd to be running in order to function.
|
||||
services.pcscd.enable = true;
|
||||
|
||||
environment.extraInit = ''
|
||||
if [ -z "$SSH_AUTH_SOCK" -a -n "$XDG_RUNTIME_DIR" ]; then
|
||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/yubikey-agent/yubikey-agent.sock"
|
||||
|
|
Loading…
Reference in a new issue