summaryrefslogtreecommitdiff
path: root/sys/boot/firmware.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/boot/firmware.nix
parent399da96059c2b7a8a3ca66896d069d1234f80294 (diff)
sys: prepare impermanence declarations in advance of [lustrated]'s transition
Diffstat (limited to '')
-rw-r--r--sys/boot/firmware.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/boot/firmware.nix b/sys/boot/firmware.nix
index b3598a7..0e024f1 100644
--- a/sys/boot/firmware.nix
+++ b/sys/boot/firmware.nix
@@ -28,6 +28,15 @@ in {
enableRedistributableFirmware = true;
};
+ local.boot.impermanence.directories = [
+ {
+ directory = "/var/lib/fwupd";
+ user = "fwupd-refresh";
+ group = "fwupd-refresh";
+ mode = "u=rwx,g=rx,o=rx";
+ }
+ ];
+
services.fwupd.enable = true;
};
}