refactor(module): move locale config to own nixos module
This commit is contained in:
		
							parent
							
								
									078657f1e2
								
							
						
					
					
						commit
						3f767068d2
					
				
					 3 changed files with 58 additions and 20 deletions
				
			
		|  | @ -34,26 +34,6 @@ with lib.${namespace}; | |||
|   # Set timezone. | ||||
|   time.timeZone = "Europe/Berlin"; | ||||
| 
 | ||||
|   # Internationalisation properties. | ||||
|   i18n.defaultLocale = "en_US.UTF-8"; | ||||
|   i18n.extraLocaleSettings = { | ||||
|     LC_ADDRESS = "de_DE.UTF-8"; | ||||
|     LC_IDENTIFICATION = "de_DE.UTF-8"; | ||||
|     LC_MEASUREMENT = "de_DE.UTF-8"; | ||||
|     LC_MONETARY = "de_DE.UTF-8"; | ||||
|     LC_NAME = "de_DE.UTF-8"; | ||||
|     LC_NUMERIC = "de_DE.UTF-8"; | ||||
|     LC_PAPER = "de_DE.UTF-8"; | ||||
|     LC_TELEPHONE = "de_DE.UTF-8"; | ||||
|     LC_TIME = "de_DE.UTF-8"; | ||||
|   }; | ||||
| 
 | ||||
|   # Set console keymap. | ||||
|   console.keyMap = "de"; | ||||
|   services.xserver = { | ||||
|     xkb.layout = "de"; | ||||
|   }; | ||||
| 
 | ||||
|   # Enable the power-profiles-daemon service for improved battery management. | ||||
|   services.power-profiles-daemon.enable = true; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue