From f4a0da4d87c6ba806756b7a6202a60868d0cef27 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 6 Feb 2021 23:33:09 -0500 Subject: [PATCH] Use wally-cli & new hardware.keyboard.zsa module for ergodx --- modules/hardware/ergodox.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/hardware/ergodox.nix b/modules/hardware/ergodox.nix index 1da1a5e3..3353b17f 100644 --- a/modules/hardware/ergodox.nix +++ b/modules/hardware/ergodox.nix @@ -9,11 +9,12 @@ in { }; config = mkIf cfg.enable { - user.packages = [ pkgs.teensy-loader-cli ]; - # 'teensyload FILE' to load a new config into the ergodox - environment.shellAliases.teensyload = - "sudo teensy-loader-cli -w -v --mcu=atmega32u4"; - # Make right-alt the compose key, so ralt+a+a = å or ralt+o+/ = ø + user.packages = [ pkgs.unstable.wally-cli ]; + + hardware.keyboard.zsa.enable = true; + + user.extraGroups = [ "plugdev" ]; + services.xserver.xkbOptions = "compose:ralt"; }; }