mirror of
https://github.com/nix-community/disko.git
synced 2024-09-17 09:37:17 +03:00
README: fix example
This commit is contained in:
parent
68f950bf20
commit
077e6d4f60
38
README.md
38
README.md
@ -19,23 +19,29 @@ let
|
|||||||
ref = "master";
|
ref = "master";
|
||||||
}) {};
|
}) {};
|
||||||
cfg = {
|
cfg = {
|
||||||
type = "devices";
|
disk = {
|
||||||
content = {
|
|
||||||
sda = {
|
sda = {
|
||||||
type = "table";
|
device = "/dev/sda";
|
||||||
format = "msdos";
|
type = "device";
|
||||||
partitions = [{
|
content = {
|
||||||
type = "partition";
|
type = "table";
|
||||||
part-type = "primary";
|
format = "msdos";
|
||||||
start = "1M";
|
partitions = [
|
||||||
end = "100%";
|
{
|
||||||
bootable = true;
|
name = "root";
|
||||||
content = {
|
type = "partition";
|
||||||
type = "filesystem";
|
part-type = "primary";
|
||||||
format = "ext4";
|
start = "1M";
|
||||||
mountpoint = "/";
|
end = "100%";
|
||||||
};
|
bootable = true;
|
||||||
}];
|
content = {
|
||||||
|
type = "filesystem";
|
||||||
|
format = "ext4";
|
||||||
|
mountpoint = "/";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user