aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-08-19 23:17:17 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-08-19 23:17:17 +0200
commit1d5b9d97fdc0fa334bc2d6aedfc5fb050c31c0c7 (patch)
tree06ad19cdcda4123b3b136a6c434ab89bba0c7e72
parenttreewide: Switch to bare unflake (diff)
downloadnixos-config-1d5b9d97fdc0fa334bc2d6aedfc5fb050c31c0c7.zip
{modules/common,hosts/apzu}: Only enable power management for apzu
-rw-r--r--hosts/by-name/apzu/configuration.nix2
-rw-r--r--modules/common/default.nix1
2 files changed, 2 insertions, 1 deletions
diff --git a/hosts/by-name/apzu/configuration.nix b/hosts/by-name/apzu/configuration.nix
index e238882d..7d24c4f9 100644
--- a/hosts/by-name/apzu/configuration.nix
+++ b/hosts/by-name/apzu/configuration.nix
@@ -24,6 +24,8 @@
"/var/log"
];
+ power.enable = true;
+
programs = {
ly.batteryName = "BAT0";
river.init = {
diff --git a/modules/common/default.nix b/modules/common/default.nix
index f2a6b04d..87716725 100644
--- a/modules/common/default.nix
+++ b/modules/common/default.nix
@@ -42,7 +42,6 @@
};
polkit.enable = true;
- power.enable = true;
xdg.enable = true;
services = {