From b60819b208b966eaebe156aee2e77217f8cdc056 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 31 May 2024 17:21:32 +0300 Subject: [fix] guix:(system) Fix keyboard-layout typo --- guix/system-base.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'guix/system-base.scm') diff --git a/guix/system-base.scm b/guix/system-base.scm index e04ce1f..93a7cf4 100644 --- a/guix/system-base.scm +++ b/guix/system-base.scm @@ -1,4 +1,3 @@ -;; TODO: Use this as a base module and seperate each system/machine (define-module (system-base) #:use-module (gnu) @@ -24,14 +23,14 @@ "waybar" "gnupg" "pinentry" "font-jetbrains-mono" "docker" "docker-cli")) -(define (system-base host-name filesystem swap-uuid) +(define (system-base hostname filesystem swap-uuid) (operating-system (locale "en_US.utf8") (timezone "Europe/Athens") - (keyboard-layout (if (eq? host-name "zeus") + (host-name hostname) + (keyboard-layout (if (string= hostname "zeus") (keyboard-layout "us") (keyboard-layout "us" #:options '("ctrl:swapcaps")))) - (host-name host-name) ;; TODO: Use the full linux kernel only on the desktop (kernel linux-lts) -- cgit v1.2.3