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
+10 -4
+10 -4
View File
@@ -19,12 +19,16 @@ let
ref = "master"; ref = "master";
}) {}; }) {};
cfg = { cfg = {
type = "devices"; disk = {
content = {
sda = { sda = {
device = "/dev/sda";
type = "device";
content = {
type = "table"; type = "table";
format = "msdos"; format = "msdos";
partitions = [{ partitions = [
{
name = "root";
type = "partition"; type = "partition";
part-type = "primary"; part-type = "primary";
start = "1M"; start = "1M";
@@ -35,7 +39,9 @@ let
format = "ext4"; format = "ext4";
mountpoint = "/"; mountpoint = "/";
}; };
}]; }
];
};
}; };
}; };
}; };