summaryrefslogtreecommitdiff
path: root/systems/akashi.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-10-18 05:42:00 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-10-18 05:42:00 +0200
commitacc0861c5ed01b68f3b5ca3f04c03731f958fea3 (patch)
treef125a036c714e85bd16da81bd141087ceb5c4637 /systems/akashi.scm
parent7410a83a96f3c5ea608ca8b02af19d6afcb08ec8 (diff)
refactor(deployment): delocalize import of (users id1000)
Diffstat (limited to 'systems/akashi.scm')
-rw-r--r--systems/akashi.scm11
1 files changed, 5 insertions, 6 deletions
diff --git a/systems/akashi.scm b/systems/akashi.scm
index 0a4ebe3..0084d7f 100644
--- a/systems/akashi.scm
+++ b/systems/akashi.scm
@@ -1,4 +1,5 @@
-(define-module (systems akashi))
+(define-module (systems akashi)
+ #:use-module (users id1000))
(define root-partition
((@ (gnu system file-systems) file-system)
@@ -33,8 +34,7 @@
'adb-udev
(@ (gnu packages android) android-udev-rules))))))
-(define (users)
- (use-modules (users id1000))
+(define users
(list uid1000-account))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -45,8 +45,7 @@
(machines thinkpad-x200)
(nongnu packages linux)
(suweren commons sudoers)
- (suweren system)
- (users id1000))
+ (suweren system))
(let* ((patter-placeholder #f)
(timezone* "Europe/Warsaw"))
((@ (gnu system) operating-system)
@@ -56,7 +55,7 @@
(host-name host-name*)
(file-systems (file-systems))
(swap-devices (swap-devices* host-name*))
- (users (users))
+ (users users)
(timezone timezone*)
(locale polish-locale-string)
(locale-definitions %suweren-locale-definitions)