qmk keyboard

This commit is contained in:
Julian Sutter 2024-05-25 20:44:14 -07:00
parent 76beaa5f6a
commit 0e635555d2
2 changed files with 14 additions and 12 deletions

View file

@ -19,12 +19,7 @@
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault
config.hardware.enableRedistributableFirmware;
# Fix TRRS headphones missing a mic
# https://community.frame.work/t/headset-microphone-on-linux/12387/3
boot.extraModprobeConfig = ''
options snd-hda-intel model=dell-headset-multi
'';
hardware.keyboard.qmk.enable = true;
# For fingerprint support
services.fprintd.enable = lib.mkDefault true;
@ -65,6 +60,13 @@
};
};
## Keyboard controller support
environment.systemPackages = with pkgs; [
via
];
services.udev.packages = [ pkgs.via ];
networking.bridges = {
"br0" = {
interfaces = [ "wlan0" ];