summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-05-31 17:21:32 +0300
committerThanos Apollo <[email protected]>2024-05-31 17:21:55 +0300
commitb60819b208b966eaebe156aee2e77217f8cdc056 (patch)
tree89e8fa79195b2a293eb93958abf059d3b1b1dee8
parent2f2e7cd8ad9a30d743d85dce53e8fb60932959aa (diff)
[fix] guix:(system) Fix keyboard-layout typo
-rw-r--r--guix/system-base.scm7
1 files changed, 3 insertions, 4 deletions
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)