From d768fddeaf9e5f3b393b506a1770b2221fc4994f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 7 May 2024 14:25:03 +0200 Subject: [PATCH] Set the keyboard layout for the desktop --- flake.nix | 1 + lib/configuration.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 62060fd..5a28c7e 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,7 @@ dualBoot = false; timeZone = null; keyMap = "us"; + keyboardLayout = "us"; }; systems = [ { diff --git a/lib/configuration.nix b/lib/configuration.nix index 9e016da..77cfcce 100644 --- a/lib/configuration.nix +++ b/lib/configuration.nix @@ -31,5 +31,6 @@ # Configure keyboard layout console.keyMap = machineConfig.keyMap; + services.xserver.xkb.layout = machineConfig.keyboardLayout; }; }