feat(yubikey-touch-detector): fix?
This commit is contained in:
parent
f446486678
commit
913562b98b
1 changed files with 9 additions and 3 deletions
|
@ -25,11 +25,17 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
# Send a notification if the YubiKey is waiting for touch.
|
# Send a notification if the YubiKey is waiting for touch.
|
||||||
systemd.user.services.yubikey-touch-detector = {
|
systemd.services.yubikey-touch-detector = {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "Detects when your YubiKey is waiting for a touch";
|
description = "Detects when your YubiKey is waiting for a touch";
|
||||||
path = with pkgs; [ yubikey-touch-detector ];
|
path = with pkgs; [
|
||||||
script = ''exec yubikey-touch-detector --notify'';
|
gnupg
|
||||||
|
yubikey-touch-detector
|
||||||
|
];
|
||||||
|
wantedBy = [
|
||||||
|
"graphical-session.target"
|
||||||
|
];
|
||||||
|
script = ''exec yubikey-touch-detector --libnotify'';
|
||||||
environment.YUBIKEY_TOUCH_DETECTOR_LIBNOTIFY = "true";
|
environment.YUBIKEY_TOUCH_DETECTOR_LIBNOTIFY = "true";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue