impermanence: fix /etc/zfs cache
This commit is contained in:
@@ -20,14 +20,15 @@
|
|||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
|
|
||||||
"/var/lib/systemd/timers"
|
"/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 = [
|
files = [
|
||||||
# Machine ID
|
# Machine ID
|
||||||
"/etc/machine-id"
|
"/etc/machine-id"
|
||||||
|
|
||||||
# ZFS cache
|
|
||||||
"/etc/zfs/zpool.cache"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
users.${username} = {
|
users.${username} = {
|
||||||
|
|||||||
Reference in New Issue
Block a user