mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-30 01:12:10 +01:00 
			
		
		
		
	system/spell-check: init
This commit is contained in:
		
							parent
							
								
									7863b3ee5c
								
							
						
					
					
						commit
						387eed714d
					
				
					 2 changed files with 20 additions and 0 deletions
				
			
		|  | @ -6,5 +6,6 @@ | |||
|     ./fonts | ||||
|     ./kvm | ||||
|     ./podman | ||||
|     ./spell-check | ||||
|   ]; | ||||
| } | ||||
|  |  | |||
							
								
								
									
										19
									
								
								modules/system/spell-check/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								modules/system/spell-check/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,19 @@ | |||
| # spell-checking | ||||
| { config, lib, options, pkgs, ... }: | ||||
| let | ||||
|   cfg = config.my.system.spell-check; | ||||
| in | ||||
| { | ||||
|   options.my.system.spell-check = with lib; { | ||||
|     enable = mkEnableOption "spell-check configuration"; | ||||
|   }; | ||||
| 
 | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     environment.systemPackages = with pkgs; [ | ||||
|       aspell | ||||
|       aspellDicts.en | ||||
|       aspellDicts.en-computers | ||||
|       aspellDicts.en-science | ||||
|     ]; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler