summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 23:25:40 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 23:25:40 +0100
commit5314840d82a4bde055cc8ccd3352eb2b997ef185 (patch)
tree58e4c8f1e2faa6c82e89b1a259be624c60ca5cb3
parent11f72478b44bb738a3cceb7dd361291d78ac1fab (diff)
System configuration: break out swap-devices
-rw-r--r--system-configuration.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index 56c0c07..379e0e2 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -113,6 +113,9 @@
(targets bootloader-targets)
(keyboard-layout keyboard-layout)))
+(define swap-devices
+ `(,(swap-space (target (uuid "73bed3f9-be07-40ad-a228-577cd24f2e1d")))))
+
(operating-system (locale locale)
(timezone timezone)
(keyboard-layout keyboard-layout)
@@ -121,7 +124,7 @@
(packages packages)
(services services)
(bootloader bootloader-record)
- (swap-devices `(,(swap-space (target (uuid "73bed3f9-be07-40ad-a228-577cd24f2e1d")))))
+ (swap-devices swap-devices)
(mapped-devices `(,(mapped-device (source (uuid "887ac37f-2919-41a0-a62a-e1ff5ea2d6cc"))
(target "aisaka-root")
(type luks-device-mapping))))