Compare commits

..

4 Commits

Author SHA1 Message Date
Andreas Schaafsma
e95ab8bd3e gaming packages 2025-12-15 23:30:12 +01:00
Andreas Schaafsma
c6104a7a9e keychron fixes 2025-12-15 23:30:05 +01:00
Andreas Schaafsma
f9b40222a0 add plugdev for keychron launcher 2025-12-15 23:29:43 +01:00
Andreas Schaafsma
866efb4718 fixed redundant line 2025-12-14 19:51:26 +01:00
3 changed files with 13 additions and 4 deletions

View File

@ -10,6 +10,10 @@ in {
config = lib.mkIf cfg.enable {
# Create the plugdev group and ensure users can access HID devices
users.groups.plugdev = {};
hardware.keyboard.qmk.keychronSupport = true;
services.udev.packages = with pkgs; [ qmk qmk-udev-rules ];
@ -85,7 +89,10 @@ in {
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a03", ATTRS{idProduct}=="0037", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"
# hid_listen
KERNEL=="hidraw*", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl"
KERNEL=="hidraw*", MODE="0666", TAG+="uaccess", TAG+="udev-acl"
# hidraw devices for WebHID (Keychron Launcher, VIA)
SUBSYSTEM=="hidraw", MODE="0666", TAG+="uaccess", TAG+="udev-acl"
# hid bootloaders
## QMK HID

View File

@ -30,8 +30,11 @@
# };
environment.systemPackages = with pkgs; [
steam
# proton-ge-bin
protonup-ng # Tool to install and manage Proton-GE
lutris
vkd3d
dxvk
corefonts
protontricks
mangohud
vkbasalt

View File

@ -43,7 +43,7 @@ in
users.users.andreas = {
isNormalUser = true;
description = "Andreas Schaafsma";
extraGroups = [ "networkmanager" "wheel" "libvirtd" ] ;
extraGroups = [ "networkmanager" "wheel" "libvirtd" "plugdev" ] ;
packages = with pkgs; [
# Packages from inputs
inputs.game-of-life.packages.x86_64-linux.default
@ -86,7 +86,6 @@ in
];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
programs.steam.gamescopeSession.enable = true;
programs.gamescope.enable = true;
programs.steam.gamescopeSession = {
enable = true;