Nix package overlay for a tomu flasher
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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
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"