Merge pull request #647 from dasJ/fix/readme-nix-format

README: Use RFC166 formatting
This commit is contained in:
lassulus 2024-05-22 15:03:45 +02:00 committed by GitHub
commit d957a010f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,36 +63,36 @@ A simple disko configuration may look like this:
```nix
{
disko.devices = {
disk = {
 my-disk = {
  device = "/dev/sda";
  type = "disk";
  content = {
   type = "gpt";
   partitions = {
    ESP = {
type = "EF00";
     size = "500M";
     content = {
      type = "filesystem";
      format = "vfat";
      mountpoint = "/boot";
     };
    };
    root = {
     size = "100%";
     content = {
      type = "filesystem";
      format = "ext4";
      mountpoint = "/";
     };
    };
   };
  };
 };
disko.devices = {
disk = {
my-disk = {
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "500M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
};
}
```