meta: Various gaming fixes

- Fix Vortex Mod Manager by giving it access to /mnt/Storage (Bad, but
  well)
- Add package: razer-cli
- Tell gamemode to put my GPU in performance mode
- Tell gamemode to enable or disable keyboard backlight
- Switch the miku kernel to Zen
This commit is contained in:
2022-05-03 15:04:01 +02:00
parent 1361348bf1
commit 648da7e05a
6 changed files with 77 additions and 18 deletions

View File

@@ -47,7 +47,7 @@
evolution
# Proprietary stuff (yikes)
discord-wrapped #discord-app-wrapped
discord-wrapped discord-app-wrapped
spotify-wrapped
vortex-wrapped
zoom-vm
@@ -114,7 +114,9 @@
#};
};
boot = {
boot = let
kernel = pkgs.linuxPackages_zen;
in {
extraModprobeConfig = ''
options kvm_amd nested=1
options vfio-pci ids=1002:67df,1002:aaf0
@@ -144,12 +146,12 @@
"pci=noaer"
];
extraModulePackages = [ pkgs.linuxPackages_xanmod.vendor-reset ];
extraModulePackages = [ kernel.vendor-reset ];
# NOTE: A regression appears to have happend between 5.10 and 5.12
# which leads to the RX590 to have the fence fallback timer on
# sdma0 time out (whatever this means). Maybe bisect?
kernelPackages = pkgs.linuxPackages_xanmod;
kernelPackages = kernel;
};
services = {
ratbagd.enable = true;
@@ -168,6 +170,11 @@
hardware = {
opentabletdriver.enable = true;
openrazer = {
enable = true;
devicesOffOnScreensaver = true;
users = [ "alexander" ];
};
};
# TODO: Move into modules