fix containers and mullvad

This commit is contained in:
atagen 2024-08-15 12:19:55 +10:00
parent f623faa0ef
commit c8ee397794
20 changed files with 370 additions and 115 deletions

View file

@ -5,9 +5,7 @@
}: {
services.podman = {
containers.ollama = {
# serviceName = "ollama";
image = "ollama/ollama:latest";
# ports = ["11434:11434"];
devices = ["nvidia.com/gpu=all"];
autostart = false;
networks = ["ollama"];
@ -15,6 +13,7 @@
"--health-cmd"
(lib.escapeShellArg "bash -c 'cat < /dev/null > /dev/tcp/localhost/11434'")
];
# TODO make a volume lol
};
networks.ollama = {