summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 23:54:35 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 23:54:35 +0100
commitb823c9066dfbd6bcb915a41409f687253c89425c (patch)
treec3b2ae5393f2afd404e194ffa825f5c314f0fbb8
parenta8a978b6d52851f36f6dd10cd9a03abf5ddfc438 (diff)
System configuration: break out file-system-root
-rw-r--r--system-configuration.scm11
1 files 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))