add yubikey touch detector
This commit is contained in:
parent
2ffff5270f
commit
6b62ba838a
@ -19,6 +19,18 @@ in
|
|||||||
colors.enable = lib.mkDefault true;
|
colors.enable = lib.mkDefault true;
|
||||||
fonts.enable = lib.mkDefault true;
|
fonts.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
systemd.user.services.yubikey-touch-detector = {
|
||||||
|
Service = {
|
||||||
|
ExecStart = toString (pkgs.writeShellScript "yubikey-touch-detector-libnotify" ''
|
||||||
|
export SSH_AUTH_SOCK="$(${pkgs.gnupg}/bin/gpgconf --list-dirs agent-ssh-socket)"
|
||||||
|
${pkgs.yubikey-touch-detector}/bin/yubikey-touch-detector -libnotify
|
||||||
|
'');
|
||||||
|
};
|
||||||
|
Install = rec {
|
||||||
|
WantedBy = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.chromium.enable = lib.mkDefault true;
|
programs.chromium.enable = lib.mkDefault true;
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
Loading…
Reference in New Issue
Block a user