Skip to content

Commit

Permalink
hyper/partitioning: Change the partitioning file format
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
  • Loading branch information
mdrodrigo authored and otavio committed Sep 9, 2024
1 parent 9ca72e7 commit 50bf767
Showing 1 changed file with 27 additions and 32 deletions.
59 changes: 27 additions & 32 deletions hosts/hyper/partitioning.nix
Original file line number Diff line number Diff line change
@@ -1,36 +1,31 @@
{
disko.devices = {
disk = {
main = {
device = "/dev/nvme0n1";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "ESP";
start = "1MiB";
end = "512MiB";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "root";
start = "512MiB";
end = "100%";
part-type = "primary";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
disko.devices.disk.main = {
type = "disk";
device = "/dev/nvme0n1";
content = {
type = "gpt";
partitions = {
ESP = {
label = "ESP";
start = "1MiB";
end = "512MiB";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";

};
};
root = {
label = "root";
start = "512MiB";
end = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
Expand Down

0 comments on commit 50bf767

Please sign in to comment.