try different disko config without lvm

This commit is contained in:
Noah Masur
2025-07-01 22:46:27 -06:00
parent 444ede2074
commit 227e6a68af

View File

@ -90,22 +90,16 @@ rec {
services.openssh.enable = true; services.openssh.enable = true;
# Example to create a bios compatible gpt partition
disko.devices = { disko.devices = {
disk.disk1 = { disk = {
device = "/dev/sda"; main = {
type = "disk"; type = "disk";
device = "/dev/sda";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {
boot = { boot = {
name = "boot"; size = "512M";
size = "1M";
type = "EF02";
};
esp = {
name = "ESP";
size = "500M";
type = "EF00"; type = "EF00";
content = { content = {
type = "filesystem"; type = "filesystem";
@ -114,29 +108,12 @@ rec {
}; };
}; };
root = { root = {
name = "root";
size = "100%"; size = "100%";
content = {
type = "lvm_pv";
vg = "pool";
};
};
};
};
};
lvm_vg = {
pool = {
type = "lvm_vg";
lvs = {
root = {
size = "100%FREE";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "ext4"; format = "ext4";
mountpoint = "/"; mountpoint = "/";
mountOptions = [ };
"defaults"
];
}; };
}; };
}; };