Files
nix-files/hosts/common/programs/wally-cli.nix
2024-07-07 02:10:53 +00:00

15 lines
376 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.method = "bwrap";
sandbox.extraPaths = [
"/dev/bus/usb"
"/sys/bus/usb"
"/sys/devices"
];
};
}