ZSA Keyboards: Difference between revisions

imported>R-burns
Create instructions for flashing ZSA keyboards
 
imported>Michielboekhoff
Updated docs about plugdev group + wally-cli
Line 1: Line 1:
== Flashing ==
== Flashing ==


ZSA keyboards such as the Ergodox EZ and Moonlander Mark I can be flashed using the <code>wally-cli</code> command-line tool. The ZSA udev rules can be set up automatically with the <code>hardware.keyboard.zsa</code> config option. Your user must also be a member of the <code>plugdev</code> group.
ZSA keyboards such as the Ergodox EZ and Moonlander Mark I can be flashed using the <code>wally-cli</code> command-line tool. The ZSA udev rules can be set up automatically with the <code>hardware.keyboard.zsa</code> config option. In previous versions, your user had to be a member of the <code>plugdev</code> group.


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
users.users.yourUser = {
  extraGroups = [ "plugdev" ];
};
hardware.keyboard.zsa.enable = true;
hardware.keyboard.zsa.enable = true;
</nowiki>}}
In addition, you might also want to install wally-cli[https://github.com/zsa/wally-cli]:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
environment.systemPackages = with pkgs; [ wally-cli ];
</nowiki>}}
</nowiki>}}