From de89e70a05bcc83172e60f502260377502b305d3 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Tue, 13 Jan 2026 13:13:49 -0500 Subject: [PATCH] impermanence: fix /etc/zfs cache --- modules/impermanence.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/impermanence.nix b/modules/impermanence.nix index 6d78b55..5849d47 100644 --- a/modules/impermanence.nix +++ b/modules/impermanence.nix @@ -20,14 +20,15 @@ "/var/lib/nixos" "/var/lib/systemd/timers" + + # ZFS cache directory - persisting the directory instead of the file + # avoids "device busy" errors when ZFS atomically updates the cache + "/etc/zfs" ]; files = [ # Machine ID "/etc/machine-id" - - # ZFS cache - "/etc/zfs/zpool.cache" ]; users.${username} = {