This commit is contained in:
iFargle 2023-08-19 09:15:21 +09:00
parent dedb90d77e
commit 367424a059

View file

@ -8,6 +8,21 @@
../../../modules/powertop.nix ../../../modules/powertop.nix
]; ];
# Set and enable TLP
services.tlp = {
enable = true;
};
programs.gamemode = {
enable = true;
settings = {
nv_powermizer_mode = 1;
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
};
# Set your time zone. # Set your time zone.
time.timeZone = "Asia/Tokyo"; time.timeZone = "Asia/Tokyo";
@ -42,8 +57,8 @@
dynamicBoost.enable = true; dynamicBoost.enable = true;
nvidiaPersistenced = false; nvidiaPersistenced = false;
package = config.boot.kernelPackages.nvidiaPackages.stable; package = config.boot.kernelPackages.nvidiaPackages.stable;
powerManagement.finegrained = false; powerManagement.finegrained = true;
powerManagement.enable = false; powerManagement.enable = true;
nvidiaSettings = true; nvidiaSettings = true;
modesetting.enable = true; modesetting.enable = true;
prime = { prime = {