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,53 +90,30 @@ 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";
content = { device = "/dev/sda";
type = "gpt"; content = {
partitions = { type = "gpt";
boot = { partitions = {
name = "boot"; boot = {
size = "1M"; size = "512M";
type = "EF02"; type = "EF00";
}; content = {
esp = { type = "filesystem";
name = "ESP"; format = "vfat";
size = "500M"; mountpoint = "/boot";
type = "EF00"; };
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
}; };
}; root = {
root = { size = "100%";
name = "root"; content = {
size = "100%"; type = "filesystem";
content = { format = "ext4";
type = "lvm_pv"; mountpoint = "/";
vg = "pool"; };
};
};
};
};
};
lvm_vg = {
pool = {
type = "lvm_vg";
lvs = {
root = {
size = "100%FREE";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [
"defaults"
];
}; };
}; };
}; };