summaryrefslogtreecommitdiff
path: root/guix/hermes.scm
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-06-02 08:07:57 +0300
committerThanos Apollo <[email protected]>2024-06-02 08:08:43 +0300
commit260a1c692b9c89b3c39854cb5d3a8c0dfc9afa77 (patch)
tree6f8c204e507eff9fc72956280797da913e6857e6 /guix/hermes.scm
parentb60819b208b966eaebe156aee2e77217f8cdc056 (diff)
guix:(system) Use system-create
Diffstat (limited to 'guix/hermes.scm')
-rw-r--r--guix/hermes.scm30
1 files changed, 16 insertions, 14 deletions
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")
+