impermanence: fix /etc/zfs cache

This commit is contained in:
2026-01-13 13:13:49 -05:00
parent 56fe61011a
commit de89e70a05

View File

@@ -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} = {