From 6bf76ba9e62025a914a69de76fb123ba2223607a Mon Sep 17 00:00:00 2001 From: twoneis Date: Tue, 7 May 2024 00:45:03 +0200 Subject: [PATCH] seperate root dataset again --- devices/ellaca/disko.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/devices/ellaca/disko.nix b/devices/ellaca/disko.nix index 877a20c..3ea4ff7 100644 --- a/devices/ellaca/disko.nix +++ b/devices/ellaca/disko.nix @@ -59,10 +59,14 @@ compression = "zstd"; "com.sun:auto-snapshot" = "false"; }; - mountpoint = "/"; postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; datasets = { + root = { + type = "zfs_fs"; + mountpoint = "/"; + options."com.sun:auto-snapshot" = "true"; + }; nix = { type = "zfs_fs"; mountpoint = "/nix";