[qmk] Adds QMK support

This commit is contained in:
2025-03-30 20:25:56 -07:00
parent 458ad191bf
commit 47cf2e3d71
2 changed files with 16 additions and 0 deletions

View File

@@ -9,6 +9,10 @@
}: }:
{ {
imports = [
./qmk.nix
];
networking.hostName = "drew-desktop"; # Define your hostname. networking.hostName = "drew-desktop"; # Define your hostname.
# Configure network proxy if necessary # Configure network proxy if necessary

View File

@@ -0,0 +1,12 @@
# See https://nixos.wiki/wiki/Qmk
{ pkgs, ... }:
{
# Allows access to keyboard configuration as a non-root user.
hardware.keyboard.qmk.enable = true;
# Add VIA to udev for firmwares that support it.
environment.systemPackages = with pkgs; [
via
];
services.udev.packages = [ pkgs.via ];
}