Added ollama (with cuda) to skaftafell
This commit is contained in:
@@ -47,6 +47,11 @@ with lib;
|
||||
system.pass.enable = true;
|
||||
system.ssh.enable = true;
|
||||
system.sshfs.enable = true;
|
||||
system.nvidia = {
|
||||
enable = true;
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:0:6:0";
|
||||
};
|
||||
|
||||
# - Server ----------------------------------
|
||||
# server.vatnajokull.enable = true;
|
||||
@@ -58,4 +63,11 @@ with lib;
|
||||
dev.docker.enable = true;
|
||||
dev.docker.users = ["marc"];
|
||||
};
|
||||
|
||||
# TODO: Move to a module
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
package = pkgs.ollama-cuda;
|
||||
host = "100.74.218.64";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user