summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:17:10 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:17:10 +0100
commit8d6f39dee58dfb1e472b7a1584e8a7eb41f4a52f (patch)
treea75b3080495f8405137ad5530ed1ce79df6ec637
parentf0330423c7c969d1d1d662200bba919e0076d82a (diff)
System configuration: break out file-systems
-rw-r--r--system-configuration.scm21
1 files changed, 12 insertions, 9 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index 1ec0613..dc8f560 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -133,6 +133,17 @@
(define mapped-devices
`(,mapped-sda2-record))
+(define file-systems
+ (cons* (file-system (mount-point "/")
+ (device "/dev/mapper/aisaka-root")
+ (type "btrfs")
+ (dependencies mapped-devices))
+ (file-system (mount-point "/boot")
+ (device (uuid "4f77b5fc-56ad-43ae-b6ec-e5adc8c48587"
+ 'ext4))
+ (type "ext4"))
+ %base-file-systems))
+
(operating-system (locale locale)
(timezone timezone)
(keyboard-layout keyboard-layout)
@@ -143,12 +154,4 @@
(bootloader bootloader-record)
(swap-devices swap-devices)
(mapped-devices mapped-devices)
- (file-systems (cons* (file-system (mount-point "/")
- (device "/dev/mapper/aisaka-root")
- (type "btrfs")
- (dependencies mapped-devices))
- (file-system (mount-point "/boot")
- (device (uuid "4f77b5fc-56ad-43ae-b6ec-e5adc8c48587"
- 'ext4))
- (type "ext4"))
- %base-file-systems)))
+ (file-systems file-systems))