Browse Source

all: modernize disk generation

main
Dustin Frisch 7 months ago
parent
commit
e4b52ab26e
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 3
      machines/manager/disk.nix
  2. 3
      machines/node/disk.nix

3
machines/manager/disk.nix

@ -7,6 +7,7 @@
type = "gpt";
partitions = {
ESP = {
label = "ESP";
start = "1MiB";
size = "100MiB";
type = "EF00";
@ -17,6 +18,7 @@
};
};
root = {
label = "primary";
start = "100MiB";
end = "-4GB";
content = {
@ -26,6 +28,7 @@
};
};
swap = {
label = "swap";
end = "100%";
content = {
type = "swap";

3
machines/node/disk.nix

@ -7,11 +7,13 @@
type = "gpt";
partitions = {
boot = {
label = "ESP";
size = "1M";
type = "EF02";
priority = 1;
};
root = {
label = "root";
end = "-4GB";
content = {
type = "filesystem";
@ -21,6 +23,7 @@
};
};
swap = {
label = "swap";
size = "100%";
content = {
type = "swap";

Loading…
Cancel
Save