about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/configuration.nix1
-rw-r--r--hosts/phobos/default.nix3
-rw-r--r--hosts/vm/default.nix3
3 files changed, 7 insertions, 0 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index cf81bcf..1fe6e28 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -44,6 +44,7 @@
 
   # Select internationalisation properties.
   i18n.defaultLocale = "en_US.UTF-8";
+  console.useXkbConfig = true; #use same kb settings (layout) as xorg
 
   # Enable CUPS to print documents.
   # services.printing.enable = true;
diff --git a/hosts/phobos/default.nix b/hosts/phobos/default.nix
index c10295f..5790b67 100644
--- a/hosts/phobos/default.nix
+++ b/hosts/phobos/default.nix
@@ -9,6 +9,9 @@
     ./hardware.nix
   ];
 
+  # Configure keymap in X11
+  services.xserver.layout = "gb";
+
   # Pick only one of the below networking options.
   networking = {
     wireless = {
diff --git a/hosts/vm/default.nix b/hosts/vm/default.nix
index cb55ce6..f20f8be 100644
--- a/hosts/vm/default.nix
+++ b/hosts/vm/default.nix
@@ -9,6 +9,9 @@
     ./hardware.nix
   ];
 
+  # Configure keymap in X11
+  services.xserver.layout = "gb";
+
   # Pick only one of the below networking options.
   networking = {
     # networkmanager.enable = true;  # Easiest to use and most distros use this by default.