l neoprism.r: update disko config

This commit is contained in:
lassulus 2023-07-08 17:03:28 +02:00
parent 6ee4f8c1c1
commit b62c593802

View File

@ -9,14 +9,12 @@
partitions = [ partitions = [
{ {
name = "boot"; name = "boot";
type = "partition";
start = "0"; start = "0";
end = "1M"; end = "1M";
part-type = "primary"; part-type = "primary";
flags = ["bios_grub"]; flags = ["bios_grub"];
} }
{ {
type = "partition";
name = "ESP"; name = "ESP";
start = "1M"; start = "1M";
end = "1GiB"; end = "1GiB";
@ -28,7 +26,6 @@
}; };
} }
{ {
type = "partition";
name = "zfs"; name = "zfs";
start = "1GiB"; start = "1GiB";
end = "100%"; end = "100%";
@ -69,7 +66,7 @@
rootFsOptions = { rootFsOptions = {
}; };
datasets.reserved = { datasets.reserved = {
zfs_type = "filesystem"; type = "zfs_fs";
options.refreservation = "1G"; options.refreservation = "1G";
}; };
}; };
@ -77,38 +74,53 @@
type = "zpool"; type = "zpool";
datasets = { datasets = {
reserved = { reserved = {
zfs_type = "filesystem"; type = "zfs_fs";
options.refreservation = "1G"; options.refreservation = "1G";
}; };
containers = { containers = {
zfs_type = "filesystem"; type = "zfs_fs";
mountpoint = "/var/lib/containers"; mountpoint = "/var/lib/containers";
options = {
canmount = "noauto";
};
}; };
home = { home = {
zfs_type = "filesystem"; type = "zfs_fs";
mountpoint = "/home"; mountpoint = "/home";
options = {
canmount = "noauto";
};
}; };
srv = { srv = {
zfs_type = "filesystem"; type = "zfs_fs";
mountpoint = "/srv"; mountpoint = "/srv";
options = {
canmount = "noauto";
};
}; };
libvirt = { libvirt = {
zfs_type = "filesystem"; type = "zfs_fs";
mountpoint = "/var/lib/libvirt"; mountpoint = "/var/lib/libvirt";
options = {
canmount = "noauto";
};
}; };
# encrypted = { # encrypted = {
# zfs_type = "filesystem"; # type = "zfs_fs";
# options = { # options = {
# canmount = "noauto";
# mountpoint = "none"; # mountpoint = "none";
# encryption = "aes-256-gcm"; # encryption = "aes-256-gcm";
# keyformat = "passphrase"; # keyformat = "passphrase";
# keylocation = "prompt"; # keylocation = "prompt";
# }; # };
# }; # };
# "encrypted/download" = { # "encrypted/download" = {
# zfs_type = "filesystem"; # type = "zfs_fs";
# mountpoint = "/var/download"; # mountpoint = "/var/download";
# options = {
# canmount = "noauto";
# };
# }; # };
}; };
}; };