-ollama AMD fix, not needed anymore

This commit is contained in:
m3tam3re 2025-01-21 10:04:14 +01:00
parent 4c0c2181ef
commit b3c4a9b3ba
6 changed files with 54 additions and 6 deletions

@ -10,6 +10,9 @@
littlelink-m3tam3re = {
file = ../../secrets/littlelink-m3tam3re.age;
};
restreamer-env = {
file = ../../secrets/restreamer-env.age;
};
searx = {
file = ../../secrets/searx.age;
};

@ -3,6 +3,7 @@
./baserow.nix
./ghost.nix
./littlelink.nix
./restreamer.nix
];
system.activationScripts.createPodmanNetworkWeb = lib.mkAfter ''
if ! /run/current-system/sw/bin/podman network exists web; then

@ -0,0 +1,26 @@
{config, ...}: {
virtualisation.oci-containers.containers."restreamer" = {
image = "docker.io/datarhei/restreamer:latest";
environmentFiles = [config.age.secrets.restreamer-env.path];
ports = ["127.0.0.1:3006:8080" "1935:1935" "1936:1936"];
volumes = ["restreamer_data:/restreamer/db"];
extraOptions = ["--add-host=postgres:10.89.0.1" "--ip=10.89.0.13" "--network=web"];
};
# Traefik configuration specific to baserow
services.traefik.dynamicConfigOptions.http = {
services.restreamer.loadBalancer.servers = [
{
url = "http://localhost:3006/";
}
];
routers.restreamer = {
rule = "Host(`stream.m3tam3re.com`)";
tls = {
certResolver = "godaddy";
};
service = "restreamer";
entrypoints = "websecure";
};
};
}

@ -48,10 +48,4 @@
podman.enable = true;
virtualisation.enable = true;
};
services.ollama = {
environmentVariables = {
HCC_AMDGPU_TARGET = "gfx1100";
};
rocmOverrideGfx = "11.0.0";
};
}

@ -23,6 +23,7 @@ in {
"secrets/ghost-env.age".publicKeys = systems ++ users;
"secrets/littlelink-m3tam3re.age".publicKeys = systems ++ users;
"secrets/m3tam3re-secrets.age".publicKeys = systems ++ users;
"secrets/restreamer-env.age".publicKeys = systems ++ users;
"secrets/searx.age".publicKeys = systems ++ users;
"secrets/tailscale-key.age".publicKeys = systems ++ users;
"secrets/traefik.age".publicKeys = systems ++ users;

@ -0,0 +1,23 @@
age-encryption.org/v1
-> ssh-ed25519 4NL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