Compare commits
4 Commits
6463a9e869
...
e95ab8bd3e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e95ab8bd3e | ||
|
|
c6104a7a9e | ||
|
|
f9b40222a0 | ||
|
|
866efb4718 |
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user