Merge pull request #196 from nix-community/types-compact

This commit is contained in:
Lassulus 2023-04-15 15:44:33 +02:00 committed by GitHub
commit 6cbfde5b50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 237 additions and 298 deletions

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "0";
end = "64MiB";
@ -22,7 +21,6 @@
};
}
{
type = "partition";
name = "zfs";
start = "128MiB";
end = "100%";
@ -42,7 +40,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "zfs";
start = "128MiB";
end = "100%";
@ -68,21 +65,21 @@
datasets = {
zfs_fs = {
zfs_type = "filesystem";
type = "zfs_fs";
mountpoint = "/zfs_fs";
options."com.sun:auto-snapshot" = "true";
};
zfs_unmounted_fs = {
zfs_type = "filesystem";
type = "zfs_fs";
options.mountpoint = "none";
};
zfs_legacy_fs = {
zfs_type = "filesystem";
type = "zfs_fs";
options.mountpoint = "legacy";
mountpoint = "/zfs_legacy_fs";
};
zfs_testvolume = {
zfs_type = "volume";
type = "zfs_volume";
size = "10M";
content = {
type = "filesystem";
@ -91,8 +88,7 @@
};
};
encrypted = {
zfs_type = "filesystem";
size = "20M";
type = "zfs_fs";
options = {
mountpoint = "none";
encryption = "aes-256-gcm";
@ -104,8 +100,7 @@
'';
};
"encrypted/test" = {
zfs_type = "filesystem";
size = "2M";
type = "zfs_fs";
mountpoint = "/zfs_crypted";
};
};