finally nvim config setup begins
This commit is contained in:
		
							parent
							
								
									e0f97d4f65
								
							
						
					
					
						commit
						e4ea74b517
					
				
					 4 changed files with 148 additions and 138 deletions
				
			
		
							
								
								
									
										31
									
								
								modules/nixos/apps/cli-apps/nixvim/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								modules/nixos/apps/cli-apps/nixvim/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,31 @@ | |||
| { | ||||
|   options, | ||||
|   config, | ||||
|   lib, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: | ||||
| with lib; | ||||
| with lib.wyrdgard; let | ||||
|   cfg = config.wyrdgard.apps.cli-apps.nixvim; | ||||
| in { | ||||
|   options.wyrdgard.apps.cli-apps.nixvim = with types; { | ||||
|     enable = mkBoolOpt true "Whether to enable nixvim or not (Default true)"; | ||||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     programs.nixvim = { | ||||
|       enable = true; | ||||
|       colorschemes.tokyonight = enabled; | ||||
|       globals.mapleader = " "; | ||||
| 
 | ||||
|       clipboard.providers.wl-copy = enabled; | ||||
| 
 | ||||
|       options = { | ||||
|         number = true; | ||||
|         relativenumber = true; | ||||
|         shiftwidth = 2; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue