diff options
| author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2026-05-15 11:35:29 +0200 |
|---|---|---|
| committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2026-05-15 11:47:54 +0200 |
| commit | 080d2e2f4e315163c552c7a5bd97aee51704d64c (patch) | |
| tree | 2b5baa0b38ddfd0a58ff6b1c575fc5fdcb8a737b /deployment | |
| parent | d9281a62a71f4ff9c8c533253d7fcdaf3587fc49 (diff) | |
(system rakan): move the root filesystem to a RAID matrix
Diffstat (limited to 'deployment')
| -rw-r--r-- | deployment/system/rakan.scm | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/deployment/system/rakan.scm b/deployment/system/rakan.scm index a8474aa..0fb9f00 100644 --- a/deployment/system/rakan.scm +++ b/deployment/system/rakan.scm @@ -92,6 +92,22 @@ (inherit sovereign:devices:file-system/root) (device l-device)))) +(define file-system/root-btrfs + (gnu:system:file-systems:file-system + (type "btrfs") + (mount-point "/") + (device (gnu:system:file-systems:file-system-label "rakan-raid10")) + (flags (list)) + (options #f) + (mount? #t) + (needed-for-boot? #t) + (skip-check-if-clean? #f) + (repair #t) + (create-mount-point? #f) + (mount-may-fail? #f) + (dependencies (list)) + (shepherd-requirements (list)))) + (define swap (let ( (l-target (sovereign:devices:file-system-label system-name @@ -227,7 +243,7 @@ (host-name system-name) (hosts-file #f) (mapped-devices (list)) - (file-systems (cons* file-system-root + (file-systems (cons* file-system/root-btrfs file-system-efi gnu:system:file-systems:%base-file-systems)) (swap-devices (list swap)) |
