From e91daec697d6a336e3f02956d1e7c3a82e2aa825 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 13 Mar 2022 10:08:49 +0000 Subject: [PATCH] hydra: milano-guix-1: Update configuration style. * hydra/milano-guix-1.scm : Use targets rather than target. : Use a list of swap-space records. --- hydra/milano-guix-1.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hydra/milano-guix-1.scm b/hydra/milano-guix-1.scm index b1bcd2b..da7be51 100644 --- a/hydra/milano-guix-1.scm +++ b/hydra/milano-guix-1.scm @@ -61,7 +61,7 @@ (bootloader (bootloader-configuration (bootloader grub-bootloader) - (target "/dev/sda") + (targets '("/dev/sda")) (keyboard-layout keyboard-layout))) (file-systems @@ -72,7 +72,11 @@ (type "btrfs")) %base-file-systems)) - (swap-devices '("/dev/sda2" "/dev/sdb2")) + (swap-devices + (list (swap-space + (target "/dev/sda2")) + (swap-space + (target "/dev/sdb2")))) (host-name "milano-guix-1")