Move keyboard layout into defaults.nix

This commit is contained in:
fruchti 2023-03-03 15:35:08 +01:00
parent 9940f822fb
commit 54530653c9
3 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,8 @@
{
config = lib.mkDefault {
i18n.defaultLocale = "en_GB.UTF-8";
console.keyMap = "de";
console.keyMap = "us";
services.xserver.layout = "us-fruchti";
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;

View file

@ -1,6 +1,5 @@
{ ... }:
{
services.xserver.layout = "us-fruchti";
services.xserver.extraLayouts = {
de-fruchti = {
description = "DE layout with some small changes for Thinkpad X270";

View file

@ -13,6 +13,8 @@ in
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
console.keyMap = "de";
services.xserver.layout = "de-x270";
i18n.defaultLocale = "de_DE.UTF-8";
networking.hostName = "Disco";
networking.networkmanager.enable = true;