hosts/kazuki/disks: migrate to new partition scheme
This commit is contained in:
parent
117d7508f1
commit
0eb50f0e42
2 changed files with 18 additions and 18 deletions
|
@ -44,5 +44,6 @@ to achieve this i still need to create a proper live iso with my config and my b
|
||||||
Sorted rougly by priority
|
Sorted rougly by priority
|
||||||
|
|
||||||
- migrate the rest of my machines
|
- migrate the rest of my machines
|
||||||
- private nix cache (unneeded with cachix?)
|
|
||||||
- hercules-ci effects for deploying machines on update (if configuration is valid)
|
- hercules-ci effects for deploying machines on update (if configuration is valid)
|
||||||
|
- go back to hercules or just migrate off of gha in some way
|
||||||
|
- fix disko
|
||||||
|
|
|
@ -7,23 +7,23 @@ in
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = bootDevice;
|
device = bootDevice;
|
||||||
content = {
|
content = {
|
||||||
type = "table";
|
type = "gpt";
|
||||||
format = "gpt";
|
partitions = {
|
||||||
partitions = [
|
esp = {
|
||||||
{
|
label = "EFI";
|
||||||
name = "EFI";
|
priority = 1;
|
||||||
start = "1MiB";
|
start = "1MiB";
|
||||||
end = "128MiB";
|
end = "128MiB";
|
||||||
fs-type = "fat32";
|
type = "EF00";
|
||||||
bootable = true;
|
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "vfat";
|
format = "vfat";
|
||||||
mountpoint = "/boot";
|
mountpoint = "/boot";
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
{
|
linux = {
|
||||||
name = "LINUX";
|
label = "LINUX";
|
||||||
|
priority = 2;
|
||||||
start = "128MiB";
|
start = "128MiB";
|
||||||
end = "-4G";
|
end = "-4G";
|
||||||
content = {
|
content = {
|
||||||
|
@ -47,17 +47,16 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
{
|
swap = {
|
||||||
name = "SWAP";
|
label = "SWAP";
|
||||||
start = "-4G";
|
size = "100%";
|
||||||
end = "100%";
|
|
||||||
content = {
|
content = {
|
||||||
type = "swap";
|
type = "swap";
|
||||||
randomEncryption = true;
|
randomEncryption = true;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue