summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-10-02 09:56:08 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-10-02 09:56:08 +0200
commit22574bc6e88db6aac15476b78e33436cad12bcee (patch)
tree0298373d01df281ed73a703ad9dbbc31cb544e15
parente20895bfd5491033a5409e99fc1fb84dbdae6275 (diff)
fix(akashi): implement keyboard-layout properly
-rw-r--r--systems/akashi.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/systems/akashi.scm b/systems/akashi.scm
index 7048df8..7613342 100644
--- a/systems/akashi.scm
+++ b/systems/akashi.scm
@@ -11,6 +11,10 @@
(mount-point "/")
(device "akashi-root")))))
+(define keyboard-layout
+ ((@ (gnu system keyboard) keyboard-layout)
+ "pl"))
+
(define (services)
(use-modules (suweren system))
(let* ((home-environments `((,uid1000-name ,(uid1000-home-environment host-name*))))
@@ -43,7 +47,7 @@
((@ (gnu system) operating-system)
(kernel linux-libre)
(bootloader (bootloader-configuration* "pl"))
- (keyboard-layout "pl")
+ (keyboard-layout keyboard-layout)
(host-name host-name*)
(file-systems (file-systems))
(swap-devices (swap-devices* host-name*))