Merge pull request #143745 from jwoudenberg/yubikey-agent-fixes
This commit is contained in:
commit
89aa371808
@ -13,7 +13,7 @@ in
|
||||
{
|
||||
###### interface
|
||||
|
||||
meta.maintainers = with maintainers; [ philandstuff rawkode ];
|
||||
meta.maintainers = with maintainers; [ philandstuff rawkode jwoudenberg ];
|
||||
|
||||
options = {
|
||||
|
||||
@ -49,6 +49,12 @@ in
|
||||
# yubikey-agent package
|
||||
systemd.user.services.yubikey-agent = mkIf (pinentryFlavor != null) {
|
||||
path = [ pkgs.pinentry.${pinentryFlavor} ];
|
||||
wantedBy = [
|
||||
(if pinentryFlavor == "tty" || pinentryFlavor == "curses" then
|
||||
"default.target"
|
||||
else
|
||||
"graphical-session.target")
|
||||
];
|
||||
};
|
||||
|
||||
environment.extraInit = ''
|
||||
|
Loading…
Reference in New Issue
Block a user