This commit is contained in:
2026-04-08 11:33:27 +02:00
parent ee304ba81c
commit ef1c141ce9
+4 -1
View File
@@ -70,7 +70,10 @@
canmount = "noauto"; canmount = "noauto";
mountpoint = "legacy"; mountpoint = "legacy";
}; };
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; postCreateHook = ''
zfs list -t snapshot -H -o name | grep -E '^rpool/root/nixos@blank$' \
|| zfs snapshot rpool/root/nixos@blank
'';
}; };
home = { home = {