added ollama plugin
This commit is contained in:
		
							parent
							
								
									da7a41ce50
								
							
						
					
					
						commit
						62ad7255ba
					
				
					 2 changed files with 19 additions and 9 deletions
				
			
		|  | @ -51,15 +51,23 @@ in { | ||||||
|       } |       } | ||||||
|     ); |     ); | ||||||
| 
 | 
 | ||||||
|     # TODO: this should reference the home directory from the user config |     services = { | ||||||
|     services.openssh.hostKeys = [ |       ollama = { | ||||||
|       { |         enable = true; | ||||||
|         comment = "leyla@" + config.networking.hostName; |         acceleration = lib.mkIf cfg.hasGPU "cuda"; | ||||||
|         path = "/home/leyla/.ssh/leyla_" + config.networking.hostName + "_ed25519"; |       }; | ||||||
|         rounds = 100; | 
 | ||||||
|         type = "ed25519"; | 
 | ||||||
|       } |       # TODO: this should reference the home directory from the user config | ||||||
|     ]; |       openssh.hostKeys = [ | ||||||
|  |         { | ||||||
|  |           comment = "leyla@" + config.networking.hostName; | ||||||
|  |           path = "/home/leyla/.ssh/leyla_" + config.networking.hostName + "_ed25519"; | ||||||
|  |           rounds = 100; | ||||||
|  |           type = "ed25519"; | ||||||
|  |         } | ||||||
|  |       ]; | ||||||
|  |     }; | ||||||
| 
 | 
 | ||||||
|     home-manager.users.leyla = lib.mkIf (cfg.isFullUser || cfg.isThinUser) (import ./home.nix); |     home-manager.users.leyla = lib.mkIf (cfg.isFullUser || cfg.isThinUser) (import ./home.nix); | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|  | @ -106,6 +106,8 @@ in { | ||||||
| 
 | 
 | ||||||
|                   # misc extensions |                   # misc extensions | ||||||
|                   bungcip.better-toml |                   bungcip.better-toml | ||||||
|  | 
 | ||||||
|  |                   open-vsx."10nates".ollama-autocoder | ||||||
|                 ] |                 ] | ||||||
|                 ++ (with vscode-marketplace; [ |                 ++ (with vscode-marketplace; [ | ||||||
|                   # js extensions |                   # js extensions | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue