feat(www): root on virtiofs

This commit is contained in:
catvayor 2024-11-29 20:41:17 +01:00
parent 5e72718e38
commit 03ecc71631
Signed by: lbailly
GPG key ID: CE3E645251AC63F3

View file

@ -9,28 +9,21 @@
partitions = { partitions = {
ESP = { ESP = {
type = "EF00"; type = "EF00";
size = "100M"; size = "100%";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot"; mountpoint = "/boot";
}; };
}; };
root = {
size = "100%";
content = {
type = "filesystem";
format = "bcachefs";
mountpoint = "/";
mountOptions = [
"fsck"
"fix_errors"
];
};
};
}; };
}; };
}; };
}; };
}; };
boot.initrd.kernelModules = [ "virtiofs" ];
fileSystems."/" = {
device = "root";
fsType = "virtiofs";
};
} }