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
];
# 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.
time.timeZone = "Asia/Tokyo";
@ -42,8 +57,8 @@
dynamicBoost.enable = true;
nvidiaPersistenced = false;
package = config.boot.kernelPackages.nvidiaPackages.stable;
powerManagement.finegrained = false;
powerManagement.enable = false;
powerManagement.finegrained = true;
powerManagement.enable = true;
nvidiaSettings = true;
modesetting.enable = true;
prime = {