Add key management tools to helium
This commit is contained in:
parent
1f98bdb855
commit
5558ba3dde
2 changed files with 8 additions and 7 deletions
|
@ -20,10 +20,11 @@
|
||||||
pinentryPackage = pkgs.pinentry-curses;
|
pinentryPackage = pkgs.pinentry-curses;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev.extraRules = with pkgs; ''
|
hardware.onlykey.enable = true;
|
||||||
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", ENV{ID_MM_DEVICE_IGNORE}="1"
|
# services.udev.extraRules = with pkgs; ''
|
||||||
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", ENV{MTP_NO_PROBE}="1"
|
# ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", OWNER:="vili", RUN+="${onlykey-cli}/bin/onlykey-cli settime"
|
# ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", ENV{MTP_NO_PROBE}="1"
|
||||||
KERNEL=="ttyACM*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", OWNER:="vili", RUN+="${onlykey-cli}/bin/onlykey-cli settime"
|
# SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", OWNER:="vili", RUN+="${onlykey-cli}/bin/onlykey-cli settime"
|
||||||
'';
|
# KERNEL=="ttyACM*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", OWNER:="vili", RUN+="${onlykey-cli}/bin/onlykey-cli settime"
|
||||||
|
# '';
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
../users/vili.nix
|
../users/vili.nix
|
||||||
../desktop.nix
|
../desktop.nix
|
||||||
../development.nix
|
../development.nix
|
||||||
# ../key-management.nix
|
../key-management.nix
|
||||||
../services/syncthing.nix
|
../services/syncthing.nix
|
||||||
../services/redshift.nix
|
../services/redshift.nix
|
||||||
../services/game-streaming.nix
|
../services/game-streaming.nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue