Qmk: Difference between revisions
Make code blocks use File template |
m Fixes with code blocks |
||
Line 11: | Line 11: | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
hardware.keyboard.qmk.enable = true; | |||
</nowiki>}} | </nowiki>}} | ||
Line 23: | Line 21: | ||
=== Installation === | === Installation === | ||
Install the VIA package, and add the package to udev. The nixpkg disables the prompt to add the udev due to compatibility issues with NixOS, so it's necessary for the app to detect your keyboard. | Install the VIA package, and add the package to udev. The nixpkg disables the prompt to add the udev due to compatibility issues with NixOS, so it's necessary for the app to detect your keyboard. | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
environment.systemPackages = with pkgs; [ via ]; | |||
services.udev.packages = with pkgs; [ via ]; | |||
</nowiki>}} | </nowiki>}} | ||