fix containers and mullvad
This commit is contained in:
parent
f623faa0ef
commit
c8ee397794
20 changed files with 370 additions and 115 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue