[qmk] Adds QMK support
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./qmk.nix
|
||||
];
|
||||
|
||||
networking.hostName = "drew-desktop"; # Define your hostname.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
|
||||
12
system/hosts/drew-desktop/qmk.nix
Normal file
12
system/hosts/drew-desktop/qmk.nix
Normal 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 ];
|
||||
}
|
||||
Reference in New Issue
Block a user