sfos/bootstrap/disko-config.nix

26 lines
607 B
Nix

{lib, ...}: {
disko.devices = {
disk.disk1 = {
device = lib.mkDefault "/dev/sda";
content = {
type = "table";
format = "msdos";
partitions = [
{
part-type = "primary";
fs-type = "btrfs";
name = "root";
bootable = true;
content = {
type = "filesystem";
format = "btrfs";
extraArgs = ["-f" "-O block-group-tree"];
mountpoint = "/";
mountOptions = ["compress=zstd"];
};
}
];
};
};
};
}