summaryrefslogtreecommitdiff
path: root/system-configuration.scm
diff options
context:
space:
mode:
Diffstat (limited to 'system-configuration.scm')
-rw-r--r--system-configuration.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index 04e40b5..a3938c2 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -122,6 +122,11 @@
(define swap-devices
`(,swap-sda3-record))
+(define mapped-devices
+ `(,(mapped-device (source (uuid "887ac37f-2919-41a0-a62a-e1ff5ea2d6cc"))
+ (target "aisaka-root")
+ (type luks-device-mapping))))
+
(operating-system (locale locale)
(timezone timezone)
(keyboard-layout keyboard-layout)
@@ -131,9 +136,7 @@
(services services)
(bootloader bootloader-record)
(swap-devices swap-devices)
- (mapped-devices `(,(mapped-device (source (uuid "887ac37f-2919-41a0-a62a-e1ff5ea2d6cc"))
- (target "aisaka-root")
- (type luks-device-mapping))))
+ (mapped-devices mapped-devices)
(file-systems (cons* (file-system (mount-point "/")
(device "/dev/mapper/aisaka-root")
(type "btrfs")