Files
nix-files/hosts/common/programs/wally-cli.nix

14 lines
346 B
Nix

# wally-cli: allows flashing firmware to keyboards like ZSA Ergodox.
{ ... }:
{
sane.programs.wally-cli = {
# sandboxing causes it to not discover devices post-launch.
# so you have to start wally AFTER pressing the 'flash' button.
sandbox.extraPaths = [
"/dev/bus/usb"
"/sys/bus/usb"
"/sys/devices"
];
};
}