Skip to content

teh/tomu-u2f-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

What is this?

This is a nix overlay that adds an installable package to flash U2F software onto a tomu.

How do I?

git clone https://github.com/teh/tomu-u2f-overlay
mkdir -p ~/.config/nixpkgs/overlays
cp -r tomu-u2f-overlay/* ~/.config/nixpkgs/overlays
nix-env -iA nixpkgs.tomu-flash-utf

# Insert your tomu key, then:
sudo $(which tomu-flash-u2f)

To reset to the original state follow these instructions.

Use as normal user on NixOS

Add the following to /etc/nixos/configuration.nix, then nixos-rebuild switch.

services.udev.extraRules = ''
  ACTION=="add|change", KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="cdab", SYMLINK+="tomu%n", MODE="0760", GROUP="users"
'';

About

Nix package overlay for a tomu flasher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages