summaryrefslogtreecommitdiff
path: root/sys/hardware/laptop.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2026-04-02 23:32:28 -0600
committerAlejandro Soto <alejandro@34project.org>2026-04-02 23:33:02 -0600
commitee0b5f7edfe9fba65f9749f65377c4f519c7fc0a (patch)
tree5531ffd8445c642e41f49bbc6333adbf252c1baf /sys/hardware/laptop.nix
parent399da96059c2b7a8a3ca66896d069d1234f80294 (diff)
sys: prepare impermanence declarations in advance of [lustrated]'s transition
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;