bring back jelly

This commit is contained in:
Sridhar Ratnakumar 2025-07-10 10:21:23 -04:00
parent 702908ebc8
commit 0efd6295a9
3 changed files with 46 additions and 22 deletions

View file

@ -3,7 +3,6 @@
"bbenoist.nix",
"b4dm4n.nixpkgs-fmt",
"jnoortheen.nix-ide",
"mattn.lisp",
"mkhl.direnv",
"kdl-org.kdl"
]

View file

@ -11,6 +11,7 @@ in
imports = [
self.nixosModules.default
./configuration.nix
./home-media.nix
(self + /modules/nixos/linux/lxd.nix)
(self + /modules/nixos/shared/github-runner.nix)
];

View file

@ -14,34 +14,58 @@
vlc
];
/* Not using this
services.transmission = {
services.nginx = {
enable = true;
group = "jellyfin";
openRPCPort = true;
settings = {
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts = {
"pureintent" = {
locations = {
# Return index.html with likns to other two sites
"/browse" = {
extraConfig = ''
default_type text/html;
'';
return = "200 '<ul style=\"font-size: 4em;\"><li><a href=\"/web\">Jellyfin</a> (Watch Movies)</li><li><a href=\"/transmission\">Transmission</a> (Torrent Download)</li></ul>'";
};
# Jellyfin
"/" = {
proxyPass = "http://localhost:8096";
proxyWebsockets = true;
};
};
};
};
};
/* Not using this
services.transmission = {
enable = true;
group = "jellyfin";
openRPCPort = true;
settings = {
rpc-bind-address = "localhost";
rpc-whitelist-enabled = false; # ACL managed through Tailscale
rpc-host-whitelist = "pureintent pureintent.rooster-blues.ts.net";
download-dir = "/Self/Downloads";
trash-original-torrent-files = true;
};
};
*/
};
};
*/
/* Disabled, because jellyfin has issues
age.secrets = {
"pureintent-basic-auth.age" = {
age.secrets = {
"pureintent-basic-auth.age" = {
file = self + /secrets/pureintent-basic-auth.age;
owner = "nginx";
};
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
# virtualHosts."pureintent.rooster-blues.ts.net" = {
virtualHosts = rec {
};
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
# virtualHosts."pureintent.rooster-blues.ts.net" = {
virtualHosts = rec {
"pureintent.rooster-blues.ts.net" = pureintent;
"pureintent" = {
locations = {
@ -66,7 +90,7 @@
};
};
};
};
};
*/
};
};
*/
}