summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-05-25 16:34:29 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-05-25 16:34:29 +0200
commit498dfaa08dda8c5c6fc7f92114c3a958f129617c (patch)
tree7e75504d5cd55a0cd4b4cc36eb8a63a5995d3239
parent2f54e25c33d9248e7501f703f6fea6dd5a639163 (diff)
separate data from logic in ayase root-partition
-rw-r--r--systems/ayase/system-configuration.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/systems/ayase/system-configuration.scm b/systems/ayase/system-configuration.scm
index 30df017..a0fad16 100644
--- a/systems/ayase/system-configuration.scm
+++ b/systems/ayase/system-configuration.scm
@@ -22,6 +22,15 @@
"emacs-exwm"
"emacs-desktop-environment"))
+(define root-mount-point
+ "/")
+
+(define root-filesystem
+ "ext4")
+
+(define root-uuid
+ "615a98cd-a632-4ee5-a6f4-e5ebcaa6fb8c")
+
(define swap-uuid
"cc6bbf7c-e42a-4ac3-a9ae-3b14d3b4b841")
@@ -49,9 +58,9 @@
"video"))))
(define root-partition
- (file-system (mount-point "/")
- (device (uuid "615a98cd-a632-4ee5-a6f4-e5ebcaa6fb8c" 'ext4))
- (type "ext4")))
+ (file-system (mount-point root-mount-point)
+ (device (uuid root-uuid 'ext4))
+ (type root-filesystem)))
;; ABSTRACTION 1