mirror of
https://github.com/nix-community/disko
synced 2024-09-20 14:01:56 +00:00
commit
c0623a47d8
1 changed files with 22 additions and 16 deletions
38
README.md
38
README.md
|
@ -19,23 +19,29 @@ let
|
|||
ref = "master";
|
||||
}) {};
|
||||
cfg = {
|
||||
type = "devices";
|
||||
content = {
|
||||
disk = {
|
||||
sda = {
|
||||
type = "table";
|
||||
format = "msdos";
|
||||
partitions = [{
|
||||
type = "partition";
|
||||
part-type = "primary";
|
||||
start = "1M";
|
||||
end = "100%";
|
||||
bootable = true;
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
};
|
||||
}];
|
||||
device = "/dev/sda";
|
||||
type = "device";
|
||||
content = {
|
||||
type = "table";
|
||||
format = "msdos";
|
||||
partitions = [
|
||||
{
|
||||
name = "root";
|
||||
type = "partition";
|
||||
part-type = "primary";
|
||||
start = "1M";
|
||||
end = "100%";
|
||||
bootable = true;
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue