Merge pull request #34 from nix-community/types

README: fix example
This commit is contained in:
Jörg Thalheim 2022-09-04 12:16:07 +01:00 committed by GitHub
commit c0623a47d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = "/";
};
}];
}
];
};
};
};
};