From 5314840d82a4bde055cc8ccd3352eb2b997ef185 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Mon, 31 Oct 2022 23:25:40 +0100 Subject: System configuration: break out swap-devices --- system-configuration.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)))) -- cgit v1.2.3