From acc894c196a7a1b25c1e4dfc6d9351fd4b728b92 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sat, 23 May 2026 00:59:45 +0200 Subject: (system aisaka): rename system-name to host-name-aisaka --- deployment/machine/ssh.scm | 2 +- deployment/system.scm | 4 ++-- deployment/system/aisaka.scm | 7 +++++-- 3 files changed, 8 insertions(+), 5 deletions(-) (limited to 'deployment') diff --git a/deployment/machine/ssh.scm b/deployment/machine/ssh.scm index 09d05b3..f0dd2bc 100644 --- a/deployment/machine/ssh.scm +++ b/deployment/machine/ssh.scm @@ -34,7 +34,7 @@ (define-public aisaka-configuration (gnu:machine:ssh:machine-ssh-configuration - (host-name deployment:system:aisaka:system-name) + (host-name deployment:system:aisaka:host-name-aisaka) (system sovereign:machine:system-x86-linux) (build-locally? #t) (authorize? #t) diff --git a/deployment/system.scm b/deployment/system.scm index ea7e6af..766d4d0 100644 --- a/deployment/system.scm +++ b/deployment/system.scm @@ -91,13 +91,13 @@ (kernel-arguments gnu:system:%default-kernel-arguments) (hurd #f) (bootloader sovereign:devices:amd64:custom-bootloader-configuration) - (label (sovereign:systems:operating-system-label* deployment:system:aisaka:system-name + (label (sovereign:systems:operating-system-label* deployment:system:aisaka:host-name-aisaka gnu:system:this-operating-system)) (keyboard-layout deployment:system:aisaka:system-keyboard-layout) (initrd nongnu:system:linux-initrd:microcode-initrd) (initrd-modules gnu:system:linux-initrd:%base-initrd-modules) (firmware (list nongnu:packages:linux:linux-firmware)) - (host-name deployment:system:aisaka:system-name) + (host-name deployment:system:aisaka:host-name-aisaka) (hosts-file #f) (mapped-devices (list)) (file-systems (cons* deployment:system:aisaka:file-system-root diff --git a/deployment/system/aisaka.scm b/deployment/system/aisaka.scm index 7f0f43a..b168f35 100644 --- a/deployment/system/aisaka.scm +++ b/deployment/system/aisaka.scm @@ -19,6 +19,7 @@ ;;; If not, see . (define-module (deployment system aisaka) + #:export (host-name-aisaka) #:use-module (guix gexp) #:use-module ((deployment gexp) #:prefix deployment:gexp:) @@ -83,8 +84,6 @@ #:use-module ((users vmail) #:prefix users:vmail:)) -(define-public system-name "aisaka") - (define radicale-keys "/secrets/radicale/keys") (define dovecot-keys "/secrets/dovecot") @@ -347,3 +346,7 @@ (define-public guix-publish-service (sovereign:services:guix-publish-service guix-publish-configuration)) + +(define host-name-aisaka "aisaka") + +;;; EOF -- cgit v1.3