added autocpufreq to surface config
This commit is contained in:
parent
4f71edaaf8
commit
c4e55845a7
2 changed files with 15 additions and 1 deletions
|
@ -5,6 +5,20 @@
|
||||||
|
|
||||||
networking.hostName = "surface";
|
networking.hostName = "surface";
|
||||||
|
|
||||||
|
services.auto-cpufreq = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
battery = {
|
||||||
|
governor = "powersaver";
|
||||||
|
turbo = "never";
|
||||||
|
};
|
||||||
|
charger = {
|
||||||
|
governor = "performance";
|
||||||
|
turbo = "auto";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
users.users.twoneis = {
|
users.users.twoneis = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "twoneis";
|
description = "twoneis";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" "surface-control" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
|
|
Loading…
Add table
Reference in a new issue