nixos config add keyboard utilities
arnaucube git@arnaucube.com
Sat, 01 Feb 2025 10:41:30 +0100
2 files changed,
23 insertions(+),
1 deletions(-)
M
nixos/common-configuration.nix
→
nixos/common-configuration.nix
@@ -64,6 +64,7 @@ gnutar
xorg.xmodmap # keyboard remapping xfce.xfce4-screenshooter pulseaudio + usbutils # code editors vim@@ -117,6 +118,7 @@ minted # syntax highligting
pgf ; }) + gnumake #gcc clang clang-tools@@ -129,10 +131,15 @@ wasmedge # to execute wasm binaries
sage go (python3.withPackages(ps: with ps; [ - matplotlib numpy + matplotlib numpy qmk ])) pipx nodejs + + # other + qmk + vial + via ]; environment.variables = {@@ -174,4 +181,16 @@ hardware.bluetooth.enable = true;
services.blueman.enable = true; #hardware.pulseaudio.enable = true; + + # udev rules (for Vial) + services.udev.extraRules = '' + KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="4653", ATTRS{idProduct}=="0001", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl" + ''; + services.udev.packages = with pkgs; [ + qmk + qmk-udev-rules + qmk_hid + via + vial + ]; }
M
nixos/thinkpad-configuration.nix
→
nixos/thinkpad-configuration.nix
@@ -45,4 +45,7 @@ # gvfs needed for Thunar to detect external disks
services.gvfs.enable = true; hardware.pulseaudio.enable = true; + + # allow AppImage programs + programs.appimage.binfmt = true; }