refactor(flake-parts): initial flake-parts configuration
This commit is contained in:
		
							parent
							
								
									8f67be9e68
								
							
						
					
					
						commit
						5603001d65
					
				
					 230 changed files with 380 additions and 717 deletions
				
			
		
							
								
								
									
										27
									
								
								inputs/home/modules/console/editor/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								inputs/home/modules/console/editor/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,27 @@ | |||
| { lib, ... }: | ||||
| { | ||||
| 
 | ||||
|   imports = [ | ||||
|     ./helix | ||||
|     # ./nvim | ||||
|   ]; | ||||
| 
 | ||||
|   options.homeModules.console.editor = { | ||||
|     helix = { | ||||
|       enable = lib.mkEnableOption "Enable helix text editor"; | ||||
|       default = lib.mkOption { | ||||
|         type = lib.types.bool; | ||||
|         default = false; | ||||
|         description = "Set helix as the default text editor in environment variables"; | ||||
|       }; | ||||
|     }; | ||||
|     nvim = { | ||||
|       enable = lib.mkEnableOption "Enable nvim text editor"; | ||||
|       default = lib.mkOption { | ||||
|         type = lib.types.bool; | ||||
|         default = false; | ||||
|         description = "Set nvim as the default text editor in environment variables"; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue