add gamemode

This commit is contained in:
notgne2 2022-05-15 05:31:36 -07:00
parent 38abb9b673
commit 9f8b0b5078
No known key found for this signature in database
GPG key ID: 5CE0A245A2DAC84A
2 changed files with 5 additions and 2 deletions

View file

@ -106,6 +106,9 @@ in
# Needed for lots of controller stuff
hardware.uinput.enable = lib.mkDefault true;
# Optimizes running games
programs.gamemode.enable = lib.mkDefault true;
# Allows realtime stuff, useful for games, audio etc
services.udev.extraRules = ''
KERNEL=="rtc0", GROUP="users"