Added ollama (with cuda) to skaftafell

This commit is contained in:
marc
2026-05-10 20:27:32 +02:00
parent c4a468cdc7
commit 517d5df1b6

View File

@@ -47,6 +47,11 @@ with lib;
system.pass.enable = true; system.pass.enable = true;
system.ssh.enable = true; system.ssh.enable = true;
system.sshfs.enable = true; system.sshfs.enable = true;
system.nvidia = {
enable = true;
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:0:6:0";
};
# - Server ---------------------------------- # - Server ----------------------------------
# server.vatnajokull.enable = true; # server.vatnajokull.enable = true;
@@ -58,4 +63,11 @@ with lib;
dev.docker.enable = true; dev.docker.enable = true;
dev.docker.users = ["marc"]; dev.docker.users = ["marc"];
}; };
# TODO: Move to a module
services.ollama = {
enable = true;
package = pkgs.ollama-cuda;
host = "100.74.218.64";
};
} }