summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-07-08 18:35:39 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-07-08 18:35:39 +0200
commit1104bb6af35da515c90bc02558d4bba612da3149 (patch)
treedd935cd147115d552df7e3ed9aead59654923eec
parent9a5c4c4ccb4dfa5a33d3cfe5d07b7243ed285221 (diff)
save power
-rw-r--r--common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.nix b/common.nix
index bd60c27..fe8cca5 100644
--- a/common.nix
+++ b/common.nix
@@ -279,6 +279,10 @@ in
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
+ # save power
+ powerManagement.enable = true;
+ services.thermald.enable = true;
+
# allow unfree packages
nixpkgs.config.allowUnfree = true;