summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2023-05-11 14:37:51 +0200
committerstuebinm2023-05-11 14:37:51 +0200
commite5e4952ec52084389e742924107245c9101d9c46 (patch)
treecadb28fb0969f98c741a50bcd719444f6bf712fa
parente931f5fb7014a5acdc814107035a69ddd100f4d4 (diff)
nicer virtual console defaults
-rw-r--r--common/common.nix9
1 files 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";
+
}