From b823c9066dfbd6bcb915a41409f687253c89425c Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Mon, 31 Oct 2022 23:54:35 +0100 Subject: System configuration: break out file-system-root --- system-configuration.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/system-configuration.scm b/system-configuration.scm index dc8f560..3d4fe40 100644 --- a/system-configuration.scm +++ b/system-configuration.scm @@ -133,11 +133,14 @@ (define mapped-devices `(,mapped-sda2-record)) +(define file-system-root + (file-system (mount-point "/") + (device "/dev/mapper/aisaka-root") + (type "btrfs") + (dependencies mapped-devices))) + (define file-systems - (cons* (file-system (mount-point "/") - (device "/dev/mapper/aisaka-root") - (type "btrfs") - (dependencies mapped-devices)) + (cons* file-system-root (file-system (mount-point "/boot") (device (uuid "4f77b5fc-56ad-43ae-b6ec-e5adc8c48587" 'ext4)) -- cgit v1.2.3