impermanence: fix /etc/zfs cache
This commit is contained in:
@@ -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} = {
|
||||
|
||||
Reference in New Issue
Block a user