updated flake lock and fixed vscode extensions
This commit is contained in:
		
							parent
							
								
									84dfcfddbd
								
							
						
					
					
						commit
						56ef83b4ba
					
				
					 3 changed files with 27 additions and 35 deletions
				
			
		|  | @ -1,7 +1,6 @@ | |||
| { | ||||
|   lib, | ||||
|   pkgs, | ||||
|   inputs, | ||||
|   config, | ||||
|   osConfig, | ||||
|   ... | ||||
|  | @ -10,22 +9,12 @@ | |||
|   ai-tooling-enabled = config.user.continue.enable && osConfig.host.ai.enable; | ||||
| in { | ||||
|   config = lib.mkIf config.user.isDesktopUser { | ||||
|     nixpkgs = { | ||||
|       overlays = [ | ||||
|         inputs.nix-vscode-extensions.overlays.default | ||||
|       ]; | ||||
|     }; | ||||
| 
 | ||||
|     programs = { | ||||
|       bash.shellAliases = { | ||||
|         code = "codium"; | ||||
|       }; | ||||
| 
 | ||||
|       vscode = let | ||||
|         extensions = inputs.nix-vscode-extensions.extensions.${pkgs.system}; | ||||
|         open-vsx = extensions.open-vsx; | ||||
|         vscode-marketplace = extensions.vscode-marketplace; | ||||
|       in { | ||||
|       vscode = { | ||||
|         package = pkgs.vscodium; | ||||
| 
 | ||||
|         mutableExtensionsDir = false; | ||||
|  | @ -57,12 +46,12 @@ in { | |||
|               }; | ||||
|             }) | ||||
|             (lib.mkIf ai-tooling-enabled { | ||||
|               "continue.telemetryEnabled" = false; | ||||
|               #   "continue.telemetryEnabled" = false; | ||||
|             }) | ||||
|           ]; | ||||
| 
 | ||||
|           extensions = ( | ||||
|             with open-vsx; | ||||
|             with pkgs.open-vsx; | ||||
|               [ | ||||
|                 # vs code feel extensions | ||||
|                 ms-vscode.atom-keybindings | ||||
|  | @ -80,7 +69,7 @@ in { | |||
|                 dsznajder.es7-react-js-snippets | ||||
|                 dbaeumer.vscode-eslint | ||||
|                 standard.vscode-standard | ||||
|                 firsttris.vscode-jest-runner | ||||
|                 orta.vscode-jest | ||||
|                 stylelint.vscode-stylelint | ||||
|                 tauri-apps.tauri-vscode | ||||
| 
 | ||||
|  | @ -101,13 +90,15 @@ in { | |||
|                 kamadorueda.alejandra | ||||
|               ]) | ||||
|               ++ ( | ||||
|                 with vscode-marketplace; | ||||
|                 with pkgs.vscode-marketplace; | ||||
|                   [ | ||||
|                     # js extensions | ||||
|                     karyfoundation.nearley | ||||
|                   ] | ||||
|                   ++ (lib.lists.optionals ai-tooling-enabled [ | ||||
|                     continue.continue | ||||
|                     # continue.continue | ||||
|                     github.copilot | ||||
|                     github.copilot-chat | ||||
|                   ]) | ||||
|               ) | ||||
|           ); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue