Move keyboard layout into defaults.nix
This commit is contained in:
parent
9940f822fb
commit
54530653c9
|
@ -2,7 +2,8 @@
|
||||||
{
|
{
|
||||||
config = lib.mkDefault {
|
config = lib.mkDefault {
|
||||||
i18n.defaultLocale = "en_GB.UTF-8";
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
console.keyMap = "de";
|
console.keyMap = "us";
|
||||||
|
services.xserver.layout = "us-fruchti";
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.passwordAuthentication = false;
|
services.openssh.passwordAuthentication = false;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
services.xserver.layout = "us-fruchti";
|
|
||||||
services.xserver.extraLayouts = {
|
services.xserver.extraLayouts = {
|
||||||
de-fruchti = {
|
de-fruchti = {
|
||||||
description = "DE layout with some small changes for Thinkpad X270";
|
description = "DE layout with some small changes for Thinkpad X270";
|
||||||
|
|
|
@ -13,6 +13,8 @@ in
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
console.keyMap = "de";
|
||||||
|
services.xserver.layout = "de-x270";
|
||||||
i18n.defaultLocale = "de_DE.UTF-8";
|
i18n.defaultLocale = "de_DE.UTF-8";
|
||||||
networking.hostName = "Disco";
|
networking.hostName = "Disco";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue