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 ```nix
{ {
disko.devices = { disko.devices = {
disk = { disk = {
 my-disk = { my-disk = {
  device = "/dev/sda"; device = "/dev/sda";
  type = "disk"; type = "disk";
  content = { content = {
   type = "gpt"; type = "gpt";
   partitions = { partitions = {
    ESP = { ESP = {
type = "EF00"; type = "EF00";
     size = "500M"; size = "500M";
     content = { content = {
      type = "filesystem"; type = "filesystem";
      format = "vfat"; format = "vfat";
      mountpoint = "/boot"; mountpoint = "/boot";
     }; };
    }; };
    root = { root = {
     size = "100%"; size = "100%";
     content = { content = {
      type = "filesystem"; type = "filesystem";
      format = "ext4"; format = "ext4";
      mountpoint = "/"; mountpoint = "/";
     }; };
    }; };
   }; };
  }; };
 }; };
};
}; };
};
} }
``` ```