mirror of
https://github.com/acaloiaro/sfos
synced 2026-07-21 10:12:24 +00:00
26 lines
607 B
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"];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|