summaryrefslogtreecommitdiff
path: root/system/gaming
diff options
context:
space:
mode:
Diffstat (limited to 'system/gaming')
-rw-r--r--system/gaming/default.nix33
-rw-r--r--system/gaming/steam.nix2
2 files changed, 34 insertions, 1 deletions
diff --git a/system/gaming/default.nix b/system/gaming/default.nix
index ac04c6f..ca97345 100644
--- a/system/gaming/default.nix
+++ b/system/gaming/default.nix
@@ -12,6 +12,16 @@ in {
];
config = mkIf cfg.enable {
+ boot.kernelParams = [
+ # lower latency
+ "tsc=reliable"
+ "clocksource=tsc"
+ "preempt=full"
+ # no watchdog
+ "nmi_watchdog=0"
+ "nowatchdog"
+ ];
+
programs.wine = {
enable = true;
package = pkgs.wineWow64Packages.staging;
@@ -19,8 +29,31 @@ in {
ntsync = true;
};
+ services.ananicy = {
+ enable = true;
+ package = pkgs.ananicy-cpp;
+ rulesProvider = pkgs.ananicy-rules-cachyos;
+ };
+
+ services.hardware.openrgb = {
+ enable = cfg.openrgb.enable;
+ package = pkgs.openrgb-with-all-plugins;
+ };
+
+ services.scx = {
+ enable = true;
+ package = pkgs.scx.rustscheds;
+ scheduler = "scx_pandemonium";
+ };
+
environment.systemPackages = with pkgs; [
winetricks
];
+
+ services.udev.packages = with pkgs; [
+ cachyos-settings
+ ];
+
+ environment.etc."sysctl.d/70-cachyos-settings.conf".source = "${pkgs.cachyos-settings}/etc/sysctl.d/70-cachyos-settings.conf";
};
}
diff --git a/system/gaming/steam.nix b/system/gaming/steam.nix
index dd4fc50..dca5c25 100644
--- a/system/gaming/steam.nix
+++ b/system/gaming/steam.nix
@@ -17,7 +17,7 @@ in {
programs.gamescope = {
enable = true;
- capSysNice = true;
+ capSysNice = false;
};
programs.steam = {