Experimenting with pbp
's disko
config
This commit is contained in:
parent
92bf72e40b
commit
bcde9c857e
1 changed files with 76 additions and 74 deletions
|
@ -1,78 +1,80 @@
|
||||||
_: {
|
_: {
|
||||||
disk = {
|
disko.devices = {
|
||||||
# emmc = {
|
disk = {
|
||||||
# device = "/dev/mmcblk2";
|
# emmc = {
|
||||||
# type = "disk";
|
# device = "/dev/mmcblk2";
|
||||||
# content = {
|
# type = "disk";
|
||||||
# type = "table";
|
# content = {
|
||||||
# format = "gpt";
|
# type = "table";
|
||||||
# partitions = [
|
# format = "gpt";
|
||||||
# {
|
# partitions = [
|
||||||
# name = "root";
|
# {
|
||||||
# start = "1MiB";
|
# name = "root";
|
||||||
# end = "-4G";
|
# start = "1MiB";
|
||||||
# part-type = "primary";
|
# end = "-4G";
|
||||||
# bootable = false;
|
# part-type = "primary";
|
||||||
# content = {
|
# bootable = false;
|
||||||
# type = "filesystem";
|
# content = {
|
||||||
# format = "ext4";
|
# type = "filesystem";
|
||||||
# mountpoint = "/";
|
# format = "ext4";
|
||||||
# };
|
# mountpoint = "/";
|
||||||
# }
|
# };
|
||||||
# {
|
# }
|
||||||
# name = "swap";
|
# {
|
||||||
# start = "-4G";
|
# name = "swap";
|
||||||
# end = "100%";
|
# start = "-4G";
|
||||||
# part-type = "primary";
|
# end = "100%";
|
||||||
# content = {
|
# part-type = "primary";
|
||||||
# type = "swap";
|
# content = {
|
||||||
# randomEncryption = true;
|
# type = "swap";
|
||||||
# };
|
# randomEncryption = true;
|
||||||
# }
|
# };
|
||||||
# ];
|
# }
|
||||||
# };
|
# ];
|
||||||
# };
|
# };
|
||||||
ssd = {
|
# };
|
||||||
device = "/dev/nvme0n1";
|
ssd = {
|
||||||
type = "disk";
|
device = "/dev/nvme0n1";
|
||||||
content = {
|
type = "disk";
|
||||||
type = "table";
|
content = {
|
||||||
format = "gpt";
|
type = "table";
|
||||||
partitions = [
|
format = "gpt";
|
||||||
{
|
partitions = [
|
||||||
name = "ESP";
|
{
|
||||||
start = "1MiB";
|
name = "ESP";
|
||||||
end = "1024MiB";
|
start = "1MiB";
|
||||||
bootable = true;
|
end = "1024MiB";
|
||||||
content = {
|
bootable = true;
|
||||||
type = "filesystem";
|
content = {
|
||||||
format = "vfat";
|
type = "filesystem";
|
||||||
mountpoint = "/boot";
|
format = "vfat";
|
||||||
};
|
mountpoint = "/boot";
|
||||||
}
|
};
|
||||||
{
|
}
|
||||||
name = "root";
|
{
|
||||||
start = "1024MiB";
|
name = "root";
|
||||||
end = "-8G";
|
start = "1024MiB";
|
||||||
part-type = "primary";
|
end = "-8G";
|
||||||
bootable = false;
|
part-type = "primary";
|
||||||
content = {
|
bootable = false;
|
||||||
type = "filesystem";
|
content = {
|
||||||
format = "ext4";
|
type = "filesystem";
|
||||||
mountpoint = "/";
|
format = "ext4";
|
||||||
};
|
mountpoint = "/";
|
||||||
}
|
};
|
||||||
{
|
}
|
||||||
name = "swap";
|
{
|
||||||
start = "-8G";
|
name = "swap";
|
||||||
end = "100%";
|
start = "-8G";
|
||||||
part-type = "primary";
|
end = "100%";
|
||||||
content = {
|
part-type = "primary";
|
||||||
type = "swap";
|
content = {
|
||||||
randomEncryption = true;
|
type = "swap";
|
||||||
};
|
randomEncryption = true;
|
||||||
}
|
};
|
||||||
];
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue