summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 23:49:26 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 23:49:26 +0100
commita8a978b6d52851f36f6dd10cd9a03abf5ddfc438 (patch)
treea75b3080495f8405137ad5530ed1ce79df6ec637
parentdb7dee27717c0852c2dc8b8cc8d377f1fa7f212e (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))