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 = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue