feat: set cpu scaling governor to performance on battery
This commit is contained in:
parent
cba557bc6f
commit
affb3eb8d1
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@
|
||||||
ncc = "sudo nixos-rebuild switch --upgrade-all --flake \"$(readlink -f /etc/nixos)\"";
|
ncc = "sudo nixos-rebuild switch --upgrade-all --flake \"$(readlink -f /etc/nixos)\"";
|
||||||
nup = "sudo nix-channel --update";
|
nup = "sudo nix-channel --update";
|
||||||
ngc = "sudo nix-collect-garbage -d";
|
ngc = "sudo nix-collect-garbage -d";
|
||||||
nda = "nixos-rebuild --flake path:$(readlink -f /etc/nixos).#APPA --build-host root@dryb.org --target-host root@dryb.org switch";
|
nda = "nixos-rebuild --flake path:\"$(readlink -f /etc/nixos)\"#APPA --build-host root@dryb.org --target-host root@dryb.org switch";
|
||||||
|
|
||||||
dcup = "docker-compose up --detach --remove-orphans";
|
dcup = "docker-compose up --detach --remove-orphans";
|
||||||
dka = "docker kill $(docker ps -q)";
|
dka = "docker kill $(docker ps -q)";
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
default = {
|
default = {
|
||||||
# performance | powersave
|
# performance | powersave
|
||||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
CPU_SCALING_GOVERNOR_ON_BAT = "performance";
|
||||||
# performance | balance_performance | default | balance_power | power
|
# performance | balance_performance | default | balance_power | power
|
||||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue