arr stack in wip

This commit is contained in:
Satria 2026-03-03 14:25:13 +07:00
commit 6b82fc1bed
4 changed files with 56 additions and 8 deletions

View file

@ -9,8 +9,8 @@
[ "proxy.${homelab.domain}" "main.dns.${homelab.domain}" ] [ "proxy.${homelab.domain}" "main.dns.${homelab.domain}" ]
[ "*.proxy.${homelab.domain}" "proxy.${homelab.domain}" ] [ "*.proxy.${homelab.domain}" "proxy.${homelab.domain}" ]
[ "lancache.steamcontent.com" "main.dns.${homelab.domain}" ] # [ "lancache.steamcontent.com" "main.dns.${homelab.domain}" ]
[ "steam.cache.lancache.net" "main.dns.${homelab.domain}" ] # [ "steam.cache.lancache.net" "main.dns.${homelab.domain}" ]
]; ];
blacklist = [ blacklist = [
"https://adaway.org/hosts.txt" "https://adaway.org/hosts.txt"

View file

@ -1,3 +1,44 @@
{ ... }: { { pkgs, ... }: {
# WIP: declaratively integrate media services into homelab configuration
environment.systemPackages = with pkgs; [
jellyfin jellyfin-web jellyfin-ffmpeg
];
services = {
jellyfin = {
enable = true;
hardwareAcceleration.enable = true;
};
jellyseerr = {
enable = true;
port = 5055;
};
radarr = {
enable = true;
settings = {
server = {
port = 7878;
bindaddress = "127.0.0.1";
};
};
};
sonarr = {
enable = true;
server = {
port = 8989;
bindaddress = "127.0.0.1";
};
};
qbittorrent = {
enable = true;
webuiPort = 8020;
};
jackett = {
enable = true;
port = 9117;
};
flaresolverr = {
enable = true;
port = 8191;
};
};
} }

View file

@ -4,6 +4,13 @@
"dns" = { dest = "http://localhost:8088"; auth = true; }; "dns" = { dest = "http://localhost:8088"; auth = true; };
"ai" = { dest = "http://localhost:8080"; auth = true; }; "ai" = { dest = "http://localhost:8080"; auth = true; };
# "jsr" = { dest = "http://localhost:5055"; auth = false; };
# "rdr" = { dest = "http://localhost:5055"; auth = false; };
# "snr" = { dest = "http://localhost:5055"; auth = false; };
# "qbt" = { dest = "http://localhost:8020"; auth = false; };
# "jkt" = { dest = "http://localhost:9117"; auth = false; };
# "media" = { dest = "http://localhost:8096"; auth = false; };
"containers" = { dest = "http://localhost:5001"; auth = false; }; "containers" = { dest = "http://localhost:5001"; auth = false; };
"auth" = { dest = "http://localhost:1411"; auth = false; }; "auth" = { dest = "http://localhost:1411"; auth = false; };
"cdn" = { dest = "http://localhost:3000"; auth = false; }; "cdn" = { dest = "http://localhost:3000"; auth = false; };

View file

@ -2,7 +2,7 @@
imports = lib.mkIf (config.specialisation != {}) [ imports = lib.mkIf (config.specialisation != {}) [
./homelab/containers.nix ./homelab/containers.nix
./homelab/gallery.nix ./homelab/gallery.nix
./homelab/media.nix # ./homelab/media.nix # wip
./homelab/share.nix ./homelab/share.nix
./homelab/proxy.nix ./homelab/proxy.nix
./homelab/auth.nix ./homelab/auth.nix