mirror of
https://github.com/nix-community/disko
synced 2024-11-10 14:24:27 +00:00
commit
c0623a47d8
1 changed files with 22 additions and 16 deletions
14
README.md
14
README.md
|
@ -19,12 +19,16 @@ let
|
|||
ref = "master";
|
||||
}) {};
|
||||
cfg = {
|
||||
type = "devices";
|
||||
content = {
|
||||
disk = {
|
||||
sda = {
|
||||
device = "/dev/sda";
|
||||
type = "device";
|
||||
content = {
|
||||
type = "table";
|
||||
format = "msdos";
|
||||
partitions = [{
|
||||
partitions = [
|
||||
{
|
||||
name = "root";
|
||||
type = "partition";
|
||||
part-type = "primary";
|
||||
start = "1M";
|
||||
|
@ -35,7 +39,9 @@ let
|
|||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
};
|
||||
}];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue