1
1
Fork 0

Compare commits

...

3 Commits

1 changed files with 8 additions and 2 deletions

View File

@ -65,7 +65,10 @@
listen = [ listen = [
{ addr = "10.22.20.8"; port = 7476; } { addr = "10.22.20.8"; port = 7476; }
]; ];
locations."/".tryFiles = "\$uri @indexer"; locations."/" = {
root = "/pool/tvb";
tryFiles = "\$uri @indexer";
};
locations."@indexer".proxyPass = "http://localhost:5000"; locations."@indexer".proxyPass = "http://localhost:5000";
}; };
}; };
@ -88,6 +91,9 @@
users.users = { users.users = {
tvb = { tvb = {
extraGroups = [ "networkmanager" ]; extraGroups = [ "networkmanager" ];
packages = [
(pkgs.writeShellScriptBin "yt-dlp" ''exec $HOME/.yt-dlp/bin/yt-dlp "$@"'')
];
}; };
katydid = { katydid = {
uid = 1102; uid = 1102;
@ -101,7 +107,7 @@
katydid.gid = 1102; katydid.gid = 1102;
tvbpoolro = { tvbpoolro = {
gid = 1201; gid = 1201;
members = [ "tvb" "nginx" ]; members = [ "tvb" "jellyfin" "nginx" ];
}; };
}; };