Skip to content

teh/tomu-u2f-overlay

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 

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