wally-cli: sandbox

This commit is contained in:
2024-07-07 02:10:53 +00:00
parent 3487303216
commit 3dc007448c

View File

@@ -1,5 +1,14 @@
# wally-cli: allows flashing firmware to keyboards like ZSA Ergodox.
{ ... }:
{
sane.programs.wally-cli = {};
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"
];
};
}