test
This commit is contained in:
parent
dedb90d77e
commit
367424a059
1 changed files with 17 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue