Move keyboard layout into defaults.nix
This commit is contained in:
		
							parent
							
								
									9940f822fb
								
							
						
					
					
						commit
						54530653c9
					
				
					 3 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,5 @@
 | 
			
		|||
{ ... }:
 | 
			
		||||
{
 | 
			
		||||
    services.xserver.layout = "us-fruchti";
 | 
			
		||||
    services.xserver.extraLayouts = {
 | 
			
		||||
        de-fruchti = {
 | 
			
		||||
            description = "DE layout with some small changes for Thinkpad X270";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue