diff options
Diffstat (limited to 'guix')
-rw-r--r-- | guix/system-base.scm | 7 |
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) |