summaryrefslogtreecommitdiff
path: root/deployment/systems/akashi.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2025-07-07 12:27:24 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2025-07-07 13:10:40 +0200
commit8aa6f8289b2ca2e88dab5d733b5508feca48eae6 (patch)
tree09304545a1e82ace98641c3a1235648456e22821 /deployment/systems/akashi.scm
parent018f6cad21e5964df5908fbc3a94eb079c3c7755 (diff)
systems: standardise label creation
All operating-system records are configured to prepend default labels with respective host names. ----- Some minor adaptations had to performed.
Diffstat (limited to 'deployment/systems/akashi.scm')
-rw-r--r--deployment/systems/akashi.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/deployment/systems/akashi.scm b/deployment/systems/akashi.scm
index 97f0681..dc0545f 100644
--- a/deployment/systems/akashi.scm
+++ b/deployment/systems/akashi.scm
@@ -4,6 +4,7 @@
(define-module (deployment systems akashi)
#:use-module ((gnu packages linux) #:prefix gnu:packages:linux:)
#:use-module ((gnu services guix) #:prefix gnu:services:guix:)
+ #:use-module ((gnu system) #:prefix gnu:system:)
#:use-module ((machines thinkpad-x200) #:prefix machines:thinkpad-x200:)
#:use-module ((sovereign systems) #:prefix sovereign:systems:)
#:use-module (users id1000))
@@ -47,10 +48,12 @@
(define-public operating-system*
(let* ((patter-placeholder #f)
- (timezone* "Europe/Warsaw"))
- ((@ (gnu system) operating-system)
+ (timezone* "Europe/Warsaw"))
+ (gnu:system:operating-system
(kernel gnu:packages:linux:linux-libre)
(bootloader (machines:thinkpad-x200:bootloader-configuration* keyboard-layout*))
+ (label (sovereign:systems:operating-system-label* host-name*
+ (gnu:system:operating-system-default-label gnu:system:this-operating-system)))
(keyboard-layout keyboard-layout*)
(host-name host-name*)
(file-systems (file-systems))