Fixed wsl ollama + gpu driver
This commit is contained in:
parent
36e429a51f
commit
779176b96f
1 changed files with 2 additions and 1 deletions
|
|
@ -55,6 +55,7 @@
|
|||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = "nixos";
|
||||
useWindowsDriver = true;
|
||||
};
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
|
|
@ -65,7 +66,7 @@
|
|||
services.ollama = {
|
||||
enable = true;
|
||||
loadModels = [ "llama3.1" ];
|
||||
home = "/home/nixos/ollama";
|
||||
acceleration = "cuda";
|
||||
user = "ollama";
|
||||
group = "ollama";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue