install ollama
This commit is contained in:
		
							parent
							
								
									e42c61ffb8
								
							
						
					
					
						commit
						72c40d5291
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
					@ -74,6 +74,17 @@
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      displayManager.startx.enable = true;
 | 
					      displayManager.startx.enable = true;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Get up and running with large language models locally.
 | 
				
			||||||
 | 
					    ollama = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					      package = pkgs.unstable.ollama;
 | 
				
			||||||
 | 
					      acceleration = "rocm";
 | 
				
			||||||
 | 
					      # environmentVariables = {
 | 
				
			||||||
 | 
					      #  HSA_OVERRIDE_GFX_VERSION = "10.3.0";
 | 
				
			||||||
 | 
					      # };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Enable a few other services.
 | 
					    # Enable a few other services.
 | 
				
			||||||
    ratbagd.enable = true;
 | 
					    ratbagd.enable = true;
 | 
				
			||||||
    pcscd.enable = true;
 | 
					    pcscd.enable = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue