This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

2configs.games: simplify, add hidraw udev rule

Remove separate games user. Add hidraw udev rule for
gamepad support in Wine/Proton.

+4 -18
+4 -18
2configs/games.nix
··· 1 1 { 2 - users.extraUsers = { 3 - games = { 4 - name = "games"; 5 - description = "user playing games"; 6 - home = "/home/games"; 7 - extraGroups = [ 8 - "audio" 9 - "video" 10 - "input" 11 - "loot" 12 - "pipewire" 13 - ]; 14 - createHome = true; 15 - useDefaultShell = true; 16 - isNormalUser = true; 17 - }; 18 - }; 19 - 20 2 hardware.graphics.enable32Bit = true; 21 3 services.pulseaudio.support32Bit = true; 22 4 5 + # Give user access to hidraw devices (needed for gamepad support in Wine/Proton) 6 + services.udev.extraRules = '' 7 + KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="input" 8 + ''; 23 9 }