dot

vizie's NixOS desktop: Hyprland, CachyOS kernel and gaming tweaks

45 lines1058 bytesNix
1# Gaming: what cachyos-gaming-meta and cachyos-gaming-applications install.
2{ pkgs, ... }:
3{
4 programs.steam = {
5 enable = true;
6 # Your default compatibility tool on CachyOS; registers under the same
7 # internal name, so Steam keeps using it (see pkgs/proton-cachyos).
8 extraCompatPackages = [ pkgs.proton-cachyos ];
9 protontricks.enable = true;
10 # Steam's own CJK font, as wqy-zenhei on CachyOS.
11 fontPackages = [ pkgs.wqy_zenhei ];
12 };
13
14 # Run games with gamemoderun %command% (CPU governor, I/O priority, renice).
15 programs.gamemode = {
16 enable = true;
17 enableRenice = true;
18 };
19
20 programs.gamescope = {
21 enable = true;
22 capSysNice = true;
23 };
24
25 # Xbox Wireless adapter (xone-dkms on CachyOS).
26 hardware.xone.enable = true;
27
28 environment.systemPackages = with pkgs; [
29 mangohud
30 goverlay
31 vkbasalt
32 umu-launcher
33 winetricks
34 wineWow64Packages.staging
35 lutris
36 heroic
37 faugus-launcher
38 protonplus
39 prismlauncher
40 wowup-cf
41 parsec-bin
42 vulkan-tools
43 mesa-demos
44 ];
45}