summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-07-23 23:02:02 +0200
committerlassulus <git@lassul.us>2023-07-23 23:02:02 +0200
commit0d94dc9000c9a65ffb9839ff6983c24013ddb805 (patch)
treec160eef958398ffda9ed7d461b648ae1ad5dc250 /lass
parentcaa22d7d6457b0a69fb0c60acaa396c4b2aee7f3 (diff)
l neoprism.r: update disk config
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/neoprism/disk.nix36
1 files changed, 13 insertions, 23 deletions
diff --git a/lass/1systems/neoprism/disk.nix b/lass/1systems/neoprism/disk.nix
index dfebaf8d8..c5bd44c94 100644
--- a/lass/1systems/neoprism/disk.nix
+++ b/lass/1systems/neoprism/disk.nix
@@ -4,37 +4,27 @@
type = "disk";
device = disk;
content = {
- type = "table";
- format = "gpt";
- partitions = [
- {
- name = "boot";
- start = "0";
- end = "1M";
- part-type = "primary";
- flags = ["bios_grub"];
- }
- {
- name = "ESP";
- start = "1M";
- end = "1GiB";
- fs-type = "fat32";
- bootable = true;
+ type = "gpt";
+ partitions = {
+ boot = {
+ size = "1M";
+ type = "EF02";
+ };
+ ESP = {
+ size = "1G";
content = {
type = "mdraid";
name = "boot";
};
- }
- {
- name = "zfs";
- start = "1GiB";
- end = "100%";
+ };
+ zfs = {
+ size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
- }
- ];
+ };
+ };
};
})) // {
hdd1 = {