summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-10-02 11:34:27 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-10-02 11:34:27 +0200
commitdfd0a32e0708410a34a3c71ac77d7c319ad53776 (patch)
treec4055209912b7df3643ae055162ffe73354f2c4f
parent183f78e4dcfdd184cee01b55faf8a4a7f988be34 (diff)
fix(id1000): make system reconfiguration work
-rw-r--r--systems/akashi.scm13
-rw-r--r--users/id1000.scm2
2 files changed, 10 insertions, 5 deletions
diff --git a/systems/akashi.scm b/systems/akashi.scm
index efc2893..ae4f96a 100644
--- a/systems/akashi.scm
+++ b/systems/akashi.scm
@@ -1,15 +1,20 @@
(define-module (systems akashi))
+(define root-partition
+ ((@ (gnu system file-systems) file-system)
+ (mount-point "/")
+ (device ((@ (gnu system file-systems) file-system-label) "akashi-root"))
+ (type "ext4")))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
(define host-name*
"akashi")
(define (file-systems)
(use-modules (suweren system))
(append %suweren-file-systems
- (list ((@ (gnu system file-systems) file-system)
- (type "ext4")
- (mount-point "/")
- (device (file-system-label "akashi-root"))))))
+ (list root-partition)))
(define keyboard-layout*
((@ (gnu system keyboard) keyboard-layout)
diff --git a/users/id1000.scm b/users/id1000.scm
index 75fdd2a..0ccda8d 100644
--- a/users/id1000.scm
+++ b/users/id1000.scm
@@ -495,7 +495,7 @@
(define groups
(list "audio"
- "libvirt"
+ ;; "libvirt"
"netdev"
"video"
"wheel"))