fix indentation

This commit is contained in:
twoneis 2024-05-06 21:05:39 +02:00
parent bfcbd8c6aa
commit 0e666decc7

View file

@ -50,55 +50,56 @@
partitions = { partitions = {
store = { store = {
size = "100%"; size = "100%";
type = "zfs"; content = {
pool = "zstore"; type = "zfs";
pool = "zstore";
}; };
}; };
}; };
}; };
}; };
}; };
zpool = { };
zroot = { zpool = {
type = "zpool"; zroot = {
mode = ""; type = "zpool";
rootFsOptions = { mode = "";
compression = "zstd"; rootFsOptions = {
canmount = "off"; compression = "zstd";
"com.sun:auto-snapshot" = "false"; canmount = "off";
}; "com.sun:auto-snapshot" = "false";
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 '^zroot@blank$' || zfs snapshot zroot@blank";
datasets = { datasets = {
root = { root = {
type = "zfs_fs"; type = "zfs_fs";
mountpoint = "/"; mountpoint = "/";
}; };
nix = { nix = {
type = "zfs_fs"; type = "zfs_fs";
mountpoint = "/nix"; mountpoint = "/nix";
}; };
persist = { persist = {
type = "zfs_fs"; type = "zfs_fs";
mountpoint = "/persist"; mountpoint = "/persist";
};
}; };
}; };
zstore = { };
type = "zpool"; zstore = {
mode = ""; type = "zpool";
rootFsOptions = { mode = "";
compression = "zstd"; rootFsOptions = {
canmount = "off"; compression = "zstd";
"com.sun:auto-snapshot" = "false"; canmount = "off";
}; "com.sun:auto-snapshot" = "false";
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 '^zroot@blank$' || zfs snapshot zroot@blank";
datasets = { datasets = {
persist = { persist = {
type = "zfs_fs"; type = "zfs_fs";
mountpoint = "/persist/ext"; mountpoint = "/persist/ext";
};
}; };
}; };
}; };