diff --git a/hosts/WCE-Overseer/thinkcenter-disks.nix b/hosts/WCE-Overseer/thinkcenter-disks.nix index 936d0ef..3a3f52e 100644 --- a/hosts/WCE-Overseer/thinkcenter-disks.nix +++ b/hosts/WCE-Overseer/thinkcenter-disks.nix @@ -29,5 +29,17 @@ }; }; }; + zpool = { + zroot = { + name = "Root zpool"; + mode = "mirror"; + rootFsOptions = { + compression = "zstd"; + "com.sun:auto-snapshot" = "false"; + }; + mountpoint = "/"; + postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; + }; + }; }; }