This commit is contained in:
Daniel Ziltener 2023-11-29 20:42:03 +01:00
parent aabab2f392
commit 5f4c792820
Signed by: zilti
GPG Key ID: B38976E82C9DAE42

View File

@ -2,6 +2,7 @@
(use-modules (use-modules
(gnu) (gnu)
(gnu build file-systems)
(gnu image) (gnu image)
(gnu services authentication) (gnu services authentication)
(gnu services avahi) (gnu services avahi)
@ -42,18 +43,23 @@
(file-systems (file-systems
(cons* (cons*
(file-system (file-system
(device "/dev/disk/by-partlabel/EFI\\x20System\\x20Partition") (device (uuid
(read-partition-uuid
(find-partition-by-label "EFI System Partition"))))
#;(device "/dev/disk/by-partlabel/EFI\\x20System\\x20Partition")
(mount-point "/boot/efi") (mount-point "/boot/efi")
(type "vfat")) (type "vfat"))
(file-system (file-system
(device "/dev/disk/by-partlabel/guix-root") (device (find-partition-by-label "guix-root"))
#;(device "/dev/disk/by-partlabel/guix-root")
(mount-point "/") (mount-point "/")
(type "xfs")) (type "xfs"))
%base-file-systems)) %base-file-systems))
(swap-devices (swap-devices
(list (list
(swap-space (swap-space
(target "/dev/disk/by-partlabel/swap") (target (find-partition-by-label "swap"))
#;(target "/dev/disk/by-partlabel/swap")
(discard? #t)))) (discard? #t))))
(users (users
(cons* (cons*