summaryrefslogtreecommitdiff
path: root/sys/hardware/thinkpad.nix
diff options
context:
space:
mode:
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;