From e5e4952ec52084389e742924107245c9101d9c46 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 11 May 2023 14:37:51 +0200 Subject: nicer virtual console defaults --- common/common.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/common/common.nix b/common/common.nix index 51e4b28..c0bcce7 100644 --- a/common/common.nix +++ b/common/common.nix @@ -20,10 +20,15 @@ wget vim htop-vim dnsutils inetutils iftop man-pages gitMinimal ]; - # Select internationalisation properties. console = { font = "Lat2-Terminus16"; - keyMap = "de"; + useXkbConfig = true; + colors = [ "002b36" "dc322f" "859900" "b58900" "268bd2" "d33682" "2aa198" "eee8d5" "002b36" "cb4b16" "586e75" "657b83" "839496" "6c71c4" "93a1a1" "fdf6e3" ]; }; + # we don't actually use the x server, but the console / tty keyboard + # settings will be derived from this + services.xserver.layout = "de"; + services.xserver.xkbOptions = "caps:escape"; + } -- cgit v1.2.3