summaryrefslogtreecommitdiff
path: root/sys/hardware/laptop.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/hardware/laptop.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/hardware/laptop.nix b/sys/hardware/laptop.nix
index 3b5b772..3123960 100644
--- a/sys/hardware/laptop.nix
+++ b/sys/hardware/laptop.nix
@@ -11,6 +11,10 @@ in {
};
config = mkIf cfg.enable {
+ local.boot.impermanence.directories = [
+ "/var/lib/upower"
+ ];
+
services = {
tlp.enable = true;
upower.enable = true;