steam: add udev rule for controller
This commit is contained in:
parent
e21c2c25c0
commit
7533a9fc02
1 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,10 @@ in
|
||||||
gamescopeSession.enable = true;
|
gamescopeSession.enable = true;
|
||||||
extraCompatPackages = [ pkgs.proton-ge-bin.steamcompattool ];
|
extraCompatPackages = [ pkgs.proton-ge-bin.steamcompattool ];
|
||||||
};
|
};
|
||||||
# See
|
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
SUBSYSTEM=="input", ATTRS{idVendor}=="2dc8", ATTRS{idProduct}=="3106", MODE="0660", GROUP="input"
|
||||||
|
''; # See
|
||||||
# https://wiki.nixos.org/wiki/GameMode
|
# https://wiki.nixos.org/wiki/GameMode
|
||||||
programs.gamemode.enable = true;
|
programs.gamemode.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue