From 260a1c692b9c89b3c39854cb5d3a8c0dfc9afa77 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 2 Jun 2024 08:07:57 +0300 Subject: guix:(system) Use system-create --- guix/hermes.scm | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'guix/hermes.scm') diff --git a/guix/hermes.scm b/guix/hermes.scm index 0731cc2..e2f1a17 100644 --- a/guix/hermes.scm +++ b/guix/hermes.scm @@ -1,20 +1,22 @@ (define-module (hermes) #:use-module (gnu) - #:use-module (system-base)) + #:use-module (system-create)) (use-package-modules file-systems) -(system-base "hermes" - (cons* (file-system - (mount-point "/boot/efi") - (device (uuid "1F4A-0DF0" - 'fat32)) - (type "vfat")) - (file-system - (mount-point "/") - (device (uuid - "b4664996-7c96-4b8c-9fe7-26cda3021c9d" - 'ext4)) - (type "ext4")) %base-file-systems) - "1b620436-7874-40d3-b580-7d2358a9f28e") +(system-create #:hostname "hermes" + #:filesystem (cons* (file-system + (mount-point "/boot/efi") + (device (uuid "1F4A-0DF0" + 'fat32)) + (type "vfat")) + (file-system + (mount-point "/") + (device (uuid + "b4664996-7c96-4b8c-9fe7-26cda3021c9d" + 'ext4)) + (type "ext4")) + %base-file-systems) + #:swap-uuid "1b620436-7874-40d3-b580-7d2358a9f28e") + -- cgit v1.2.3