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 = {
ESP = {
type = "EF00";
size = "100M";
size = "100%";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "bcachefs";
mountpoint = "/";
mountOptions = [
"fsck"
"fix_errors"
];
};
};
};
};
};
};
boot.initrd.kernelModules = [ "virtiofs" ];
fileSystems."/" = {
device = "root";
fsType = "virtiofs";
};
}