From dc4ab9e26eea2a7aa93a0f1c22791aede8cb82ec Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Thu, 30 Apr 2026 07:50:37 +0200 Subject: [PATCH] feat: remove gamemode. --- modules/linux/nixos/gaming.nix | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/modules/linux/nixos/gaming.nix b/modules/linux/nixos/gaming.nix index 0e08b6e..c415a12 100644 --- a/modules/linux/nixos/gaming.nix +++ b/modules/linux/nixos/gaming.nix @@ -24,23 +24,23 @@ }; # Install gamemode - programs.gamemode = { - enable = true; - enableRenice = true; - settings = { - general = { - softrealtime = "auto"; - renice = 10; - }; - cpu = { - pin_cores = "no"; - }; - custom = { - start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'"; - end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'"; - }; - }; - }; + # programs.gamemode = { + # enable = true; + # enableRenice = true; + # settings = { + # general = { + # softrealtime = "auto"; + # renice = 10; + # }; + # cpu = { + # pin_cores = "no"; + # }; + # custom = { + # start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'"; + # end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'"; + # }; + # }; + # }; services.udev.extraRules = '' SUBSYSTEM=="powercap", KERNEL=="intel-rapl:0", RUN+="${pkgs.coreutils}/bin/chgrp wheel /sys/%p/energy_uj", RUN+="${pkgs.coreutils}/bin/chmod g+r /sys/%p/energy_uj"