Merge pull request #34 from nix-community/types

README: fix example
This commit is contained in:
Jörg Thalheim authored and GitHub committed 2022-09-04 12:16:07 +01:00
commit c0623a47d8
1 file changed
+22 -16
+22 -16
View File
@@ -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 = "/";
};
}
];
};
};
};
};