ZSA Keyboards: Difference between revisions

From NixOS Wiki
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>}}

Revision as of 11:50, 3 June 2022

Flashing

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

/etc/nixos/configuration.nix
hardware.keyboard.zsa.enable = true;

In addition, you might also want to install wally-cli[1]:

/etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [ wally-cli ];