summaryrefslogtreecommitdiff
path: root/sys/hardware/thinkpad.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/thinkpad.nix
parent399da96059c2b7a8a3ca66896d069d1234f80294 (diff)
sys: prepare impermanence declarations in advance of [lustrated]'s transition
Diffstat (limited to '')
-rw-r--r--sys/hardware/thinkpad.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/hardware/thinkpad.nix b/sys/hardware/thinkpad.nix
index ab18694..72296ed 100644
--- a/sys/hardware/thinkpad.nix
+++ b/sys/hardware/thinkpad.nix
@@ -30,7 +30,18 @@ in {
hardware.firmware = [pkgs.sof-firmware];
- local.hardware.laptop.enable = true;
+ local = {
+ boot.impermanence.directories = [
+ {
+ directory = "/var/lib/fprint";
+ user = "root";
+ group = "root";
+ mode = "u=rwx,g=,o=";
+ }
+ ];
+
+ hardware.laptop.enable = true;
+ };
services = {
fprintd.enable = true;