switch to cap based home configs
This commit is contained in:
parent
50ee9aac83
commit
49b6f5bde0
64 changed files with 2064 additions and 1779 deletions
36
hosts/fili/services/media/jackett.nix
Normal file
36
hosts/fili/services/media/jackett.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.nginx = {
|
||||
virtualHosts."jackett.donsz.nl" = {
|
||||
forceSSL = true;
|
||||
http2 = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString config.services.jackett.port}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# vpnNamespaces.mullvad.portMappings = [
|
||||
# {
|
||||
# from = config.services.jackett.port;
|
||||
# to = config.services.jackett.port;
|
||||
# }
|
||||
# ];
|
||||
# systemd.services.autobrr.vpnConfinement = {
|
||||
# enable = true;
|
||||
# vpnNamespace = "mullvad";
|
||||
# };
|
||||
|
||||
services.oauth2-proxy.nginx.virtualHosts."jackett.donsz.nl" = {
|
||||
allowed_groups = [ "torrent" ];
|
||||
};
|
||||
|
||||
services.jackett = {
|
||||
enable = true;
|
||||
group = "jellyfin";
|
||||
user = "jellyfin";
|
||||
port = 11013;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue