Add ollama
This commit is contained in:
		
							parent
							
								
									b0be8db7d5
								
							
						
					
					
						commit
						e1086adf27
					
				| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
{ config, pkgs, ... }:
 | 
			
		||||
{
 | 
			
		||||
  services.ollama = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    acceleration = "rocm";
 | 
			
		||||
    environmentVariables = {
 | 
			
		||||
      HSA_OVERRIDE_GFX_VERSION = "10.3.0";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -17,6 +17,7 @@ in
 | 
			
		|||
      ./zellij.nix
 | 
			
		||||
      ./jj.nix
 | 
			
		||||
      ./hare.nix
 | 
			
		||||
      ./ollama.nix
 | 
			
		||||
      ./packages-min.nix
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue