yubikey-touch-detector: add missing systemd units and docs
This commit is contained in:
parent
ad5b9771dd
commit
5d60882a1e
1 changed files with 9 additions and 0 deletions
|
@ -16,6 +16,15 @@ buildGoModule rec {
|
|||
|
||||
buildInputs = [ libnotify ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm444 -t $out/share/doc/${pname} *.md
|
||||
|
||||
install -Dm444 -t $out/lib/systemd/user *.{service,socket}
|
||||
|
||||
substituteInPlace $out/lib/systemd/user/*.service \
|
||||
--replace /usr/bin/yubikey-touch-detector "$out/bin/yubikey-touch-detector --libnotify"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to detect when your YubiKey is waiting for a touch (to send notification or display a visual indicator on the screen).";
|
||||
homepage = "https://github.com/maximbaz/yubikey-touch-detector";
|
||||
|
|
Loading…
Reference in a new issue