summaryrefslogtreecommitdiff
path: root/dom0
diff options
context:
space:
mode:
authorc0co.channel <c0co.channel@braincrime.com>2025-09-08 15:36:29 +0100
committerc0co.channel <c0co.channel@braincrime.com>2025-09-08 15:36:29 +0100
commit3cbeb9dbfacb418a5baad7cd583db3ec41d79bf2 (patch)
treee9a3fb44aa118e6224324324965d038db37ba977 /dom0
parent9d953258c86f5f50e2ffde3595305b418bcc3478 (diff)
Add laptop config and drive map to system.scm
Diffstat (limited to 'dom0')
-rw-r--r--dom0/system-laptop.scm20
-rw-r--r--dom0/system.scm30
2 files changed, 25 insertions, 25 deletions
diff --git a/dom0/system-laptop.scm b/dom0/system-laptop.scm
index a0e126b..2501f2c 100644
--- a/dom0/system-laptop.scm
+++ b/dom0/system-laptop.scm
@@ -50,16 +50,16 @@
;; Run 'blkid' for UUIDs.
;; Will change after install
(file-systems (cons* (file-system
- (mount-point "/boot/efi")
- (device (uuid "6919-B0C9"
- 'fat32))
- (type "vfat"))
- (file-system
- (mount-point "/")
- (device (uuid
- "91be6346-0d17-4c4c-bca4-d08c18afe045"
- 'ext4))
- (type "ext4")) %base-file-systems))
+ (mount-point "/boot/efi")
+ (device (uuid "6919-B0C9"
+ 'fat32))
+ (type "vfat"))
+ (file-system
+ (device (file-system-label "system-root"))
+ (mount-point "/")
+ (type "ext4")
+ (dependencies mapped-devices))
+ %base-file-systems))
;; Non-free
(kernel linux)
diff --git a/dom0/system.scm b/dom0/system.scm
index f05cd7c..63f45c0 100644
--- a/dom0/system.scm
+++ b/dom0/system.scm
@@ -37,29 +37,29 @@
;; replace post-install
(swap-devices (list (swap-space
(target (uuid
- "ffbee008-d95e-4fdd-87ad-6148f38f22fe")))))
+ "7a22a333-6a5d-41fe-93a2-e5781031cfd6")))))
;; luks setup - uncomment post-install
;; and provide source UUID once known
- ;;(mapped-devices (list (mapped-device
- ;; (source (uuid ""))
- ;; (target "<label>")
- ;; (type luks-device-mapping))))
+ (mapped-devices (list (mapped-device
+ (source (uuid "0c5d284e-e0c7-4dc3-bbca-f82ee6bb82e3"))
+ (target "system-root")
+ (type luks-device-mapping))))
;; List of file systems to mount
;; Run 'blkid' for UUIDs.
;; Will change after install
(file-systems (cons* (file-system
- (mount-point "/boot/efi")
- (device (uuid "4E21-2F8F"
- 'fat32))
- (type "vfat"))
- (file-system
- (mount-point "/")
- (device (uuid
- "91be6346-0d17-4c4c-bca4-d08c18afe045"
- 'ext4))
- (type "ext4")) %base-file-systems))
+ (mount-point "/boot/efi")
+ (device (uuid "6919-B0C9"
+ 'fat32))
+ (type "vfat"))
+ (file-system
+ (device (file-system-label "system-root"))
+ (mount-point "/")
+ (type "ext4")
+ (dependencies mapped-devices))
+ %base-file-systems))
;; Non-free
(kernel linux)