diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-31 23:40:08 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2022-10-31 23:40:08 +0100 |
commit | 5d948730a0da279e97d33539b1b7de3f2fc057d7 (patch) | |
tree | 3e5eba75b26ba8ae5d0f3bcd0eca91309490be88 /system-configuration.scm | |
parent | da0f133e28ca5f39305f0ef0cc0548ce4965ceed (diff) |
System configuration: break out mapped-devices
Diffstat (limited to 'system-configuration.scm')
-rw-r--r-- | system-configuration.scm | 9 |
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") |