From 0e666decc7c323fbec796d3c9834dd109d0cafa6 Mon Sep 17 00:00:00 2001 From: twoneis Date: Mon, 6 May 2024 21:05:39 +0200 Subject: [PATCH] fix indentation --- devices/ellaca/disko.nix | 79 ++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 39 deletions(-) diff --git a/devices/ellaca/disko.nix b/devices/ellaca/disko.nix index f289c70..72ca80a 100644 --- a/devices/ellaca/disko.nix +++ b/devices/ellaca/disko.nix @@ -50,55 +50,56 @@ partitions = { store = { size = "100%"; - type = "zfs"; - pool = "zstore"; + content = { + type = "zfs"; + pool = "zstore"; }; }; }; }; }; }; - zpool = { - zroot = { - type = "zpool"; - mode = ""; - rootFsOptions = { - compression = "zstd"; - canmount = "off"; - "com.sun:auto-snapshot" = "false"; - }; - postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; + }; + zpool = { + zroot = { + type = "zpool"; + mode = ""; + rootFsOptions = { + compression = "zstd"; + canmount = "off"; + "com.sun:auto-snapshot" = "false"; + }; + postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; - datasets = { - root = { - type = "zfs_fs"; - mountpoint = "/"; - }; - nix = { - type = "zfs_fs"; - mountpoint = "/nix"; - }; - persist = { - type = "zfs_fs"; - mountpoint = "/persist"; - }; + datasets = { + root = { + type = "zfs_fs"; + mountpoint = "/"; + }; + nix = { + type = "zfs_fs"; + mountpoint = "/nix"; + }; + persist = { + type = "zfs_fs"; + mountpoint = "/persist"; }; }; - zstore = { - type = "zpool"; - mode = ""; - rootFsOptions = { - compression = "zstd"; - canmount = "off"; - "com.sun:auto-snapshot" = "false"; - }; - postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; + }; + zstore = { + type = "zpool"; + mode = ""; + rootFsOptions = { + compression = "zstd"; + canmount = "off"; + "com.sun:auto-snapshot" = "false"; + }; + postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; - datasets = { - persist = { - type = "zfs_fs"; - mountpoint = "/persist/ext"; - }; + datasets = { + persist = { + type = "zfs_fs"; + mountpoint = "/persist/ext"; }; }; };