fix indentation
This commit is contained in:
parent
bfcbd8c6aa
commit
0e666decc7
1 changed files with 40 additions and 39 deletions
|
@ -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";
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue