guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: hydra: milano-guix-1: Update configuration style.


From: Christopher Baines
Subject: branch master updated: hydra: milano-guix-1: Update configuration style.
Date: Sun, 13 Mar 2022 06:09:44 -0400

This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new e91daec  hydra: milano-guix-1: Update configuration style.
e91daec is described below

commit e91daec697d6a336e3f02956d1e7c3a82e2aa825
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sun Mar 13 10:08:49 2022 +0000

    hydra: milano-guix-1: Update configuration style.
    
    * hydra/milano-guix-1.scm <bootloader>: Use targets rather than
    target.
    <swap-devices>: 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")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]