feat: remove gamemode.
All checks were successful
/ cache (push) Successful in 24m7s

This commit is contained in:
CronyAkatsuki 2026-04-30 07:50:37 +02:00
parent 82c369e22d
commit dc4ab9e26e

View file

@ -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"