This commit is contained in:
iFargle 2023-08-22 21:42:29 +09:00
parent a8ac34e55f
commit 9703eddabe

View file

@ -9,22 +9,6 @@
../../../modules/powertop.nix ../../../modules/powertop.nix
]; ];
# https://nixos.wiki/wiki/Gamemode
programs.gamemode = {
enable = true;
settings = {
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
};
# Try thinkfan...
#services.thinkfan = {
# enable = true;
#};
# Set your time zone. # Set your time zone.
time.timeZone = "Asia/Tokyo"; time.timeZone = "Asia/Tokyo";
@ -59,8 +43,8 @@
dynamicBoost.enable = true; dynamicBoost.enable = true;
nvidiaPersistenced = false; nvidiaPersistenced = false;
package = config.boot.kernelPackages.nvidiaPackages.latest; package = config.boot.kernelPackages.nvidiaPackages.latest;
powerManagement.finegrained = true; # powerManagement.finegrained = true;
powerManagement.enable = true; # powerManagement.enable = true;
nvidiaSettings = true; nvidiaSettings = true;
modesetting.enable = true; modesetting.enable = true;
prime = { prime = {