aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2026-03-30 11:57:19 -0400
committerRosa <rosaontheweb@proton.me>2026-03-30 11:57:19 -0400
commit637d810229cc21e471b15ae6154751ed43873c1a (patch)
treef2427398d90a2d7843afed138785ffd3e8b0a0b4 /hosts
parent7a967e9b9f042becc41b4321c381905d19afc89e (diff)
no raid on /boot
Diffstat (limited to 'hosts')
-rw-r--r--hosts/canadian-government-system/disks.nix54
1 files changed, 21 insertions, 33 deletions
diff --git a/hosts/canadian-government-system/disks.nix b/hosts/canadian-government-system/disks.nix
index 6e86a26..3a12aff 100644
--- a/hosts/canadian-government-system/disks.nix
+++ b/hosts/canadian-government-system/disks.nix
@@ -6,8 +6,10 @@
partitions = {
boot = {
content = {
- name = "boot";
- type = "mdraid";
+ format = "vfat";
+ mountOptions = [ "umask=0077" ];
+ mountpoint = "/boot";
+ type = "filesystem";
};
size = "500M";
@@ -36,8 +38,10 @@
partitions = {
boot = {
content = {
- name = "boot";
- type = "mdraid";
+ format = "vfat";
+ mountOptions = [ "umask=0077" ];
+ mountpoint = "/boot";
+ type = "filesystem";
};
size = "500M";
@@ -82,40 +86,24 @@
};
};
- mdadm = {
- boot = {
- content = {
- format = "vfat";
- mountOptions = [ "umask=0077" ];
- mountpoint = "/boot";
- type = "filesystem";
- };
-
- level = 1;
- metadata = "1.0";
- type = "mdadm";
- };
-
- raid1 = {
- content = {
- partitions.primary = {
- content = {
- format = "xfs";
- mountOptions = [ "noatime" ];
- mountpoint = "/";
- type = "filesystem";
- };
-
- size = "100%";
+ mdadm.raid1 = {
+ content = {
+ partitions.primary = {
+ content = {
+ format = "xfs";
+ mountOptions = [ "noatime" ];
+ mountpoint = "/";
+ type = "filesystem";
};
- type = "gpt";
+ size = "100%";
};
- level = 1;
- type = "mdadm";
+ type = "gpt";
};
- };
+ level = 1;
+ type = "mdadm";
+ };
};
}