summaryrefslogtreecommitdiff
path: root/machines/dragon.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/dragon.nix')
-rw-r--r--machines/dragon.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix
index ba597cf..99e1b50 100644
--- a/machines/dragon.nix
+++ b/machines/dragon.nix
@@ -21,6 +21,12 @@ in {
orbekk.zomboid-server.enable = false;
services.tlp.enable = true;
+ services.tlp.settings = {
+ # Operation mode when no power supply can be detected: AC, BAT.
+ TLP_DEFAULT_MODE="BAT";
+ # Operation mode select: 0=depend on power source, 1=always use TLP_DEFAULT_MODE
+ TLP_PERSISTENT_DEFAULT=1;
+ };
environment.systemPackages = with pkgs; [ ipmitool ];
programs.mosh.enable = true;
@@ -149,6 +155,5 @@ in {
nix.settings.trusted-users = [ "builder" ];
nix.settings.max-jobs = lib.mkDefault 8;
- powerManagement.cpuFreqGovernor = "ondemand";
hardware.enableRedistributableFirmware = lib.mkDefault true;
}