fix media server problems

This commit is contained in:
Yan Lin 2025-11-27 20:34:51 +01:00
parent 3edf31371f
commit 84a156f261
6 changed files with 19 additions and 74 deletions

View file

@ -98,53 +98,5 @@ in
autoStart = true;
};
# qBittorrent torrent client
qbittorrent = {
image = "docker.io/linuxserver/qbittorrent:4.6.7";
volumes = [
"/var/lib/containers/config/qbittorrent:/config"
"/mnt/storage/Media:/data"
];
environment = {
PUID = commonUID;
PGID = commonGID;
TZ = systemTZ;
TORRENTING_PORT = "41234";
WEBUI_PORT = "8080";
};
ports = [
"8080:8080" # WebUI
"41234:41234" # P2P incoming connections
];
extraOptions = [
"--network=podman"
];
autoStart = true;
};
# Linkding bookmark manager
linkding = {
image = "docker.io/sissbruecker/linkding:latest-plus";
volumes = [
"/var/lib/containers/config/linkding:/etc/linkding/data"
];
ports = [
"5009:9090"
];
extraOptions = [
"--network=podman"
];
autoStart = true;
};
};
}

View file

@ -121,6 +121,19 @@
];
};
# Intel graphics for hardware acceleration (QSV/VA-API)
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
intel-vaapi-driver
libva-vdpau-driver
libvdpau-va-gl
vpl-gpu-rt
intel-compute-runtime
];
};
# Host-specific packages
environment.systemPackages = with pkgs; [
smartmontools # For monitoring disk health

View file

@ -42,18 +42,6 @@
};
};
# Linkding bookmark manager
link = {
rule = "Host(`link.yanlincs.com`)";
service = "link";
tls = {
certResolver = "cloudflare";
domains = [{
main = "*.yanlincs.com";
}];
};
};
# Sonarr TV show management
sonarr = {
rule = "Host(`sonarr.yanlincs.com`)";
@ -109,15 +97,6 @@
};
};
# Linkding backend (via WireGuard)
link = {
loadBalancer = {
servers = [{
url = "http://10.2.2.20:5009";
}];
};
};
# Sonarr backend (via WireGuard)
sonarr = {
loadBalancer = {