Add jellyseerr host
This commit is contained in:
parent
dfb7957217
commit
8effa34dce
22
config/hosts/jellyseerr/configuration.nix
Normal file
22
config/hosts/jellyseerr/configuration.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ ... }:
|
||||
{
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "jellyseerr";
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
extraHosts =
|
||||
''
|
||||
10.202.46.101 jellyfin.grzb.de
|
||||
10.202.100.102 radarr.grzb.de
|
||||
10.202.100.102 sonarr.grzb.de
|
||||
'';
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
8
config/hosts/jellyseerr/default.nix
Normal file
8
config/hosts/jellyseerr/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./jellyseerr.nix
|
||||
./nginx.nix
|
||||
];
|
||||
}
|
6
config/hosts/jellyseerr/jellyseerr.nix
Normal file
6
config/hosts/jellyseerr/jellyseerr.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.jellyseerr = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
26
config/hosts/jellyseerr/nginx.nix
Normal file
26
config/hosts/jellyseerr/nginx.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
virtualHosts."jellyseerr.grzb.de" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 80;
|
||||
}
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 443;
|
||||
ssl = true;
|
||||
}
|
||||
];
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${builtins.toString config.services.jellyseerr.port}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -7,6 +7,7 @@ let
|
|||
"netbox.grzb.de" = "netbox.vs.grzb.de";
|
||||
"grafana.grzb.de" = "metrics.vs.grzb.de";
|
||||
"jackett.grzb.de" = "torrent.vs.grzb.de";
|
||||
"jellyseerr.grzb.de" = "jellyseerr.vs.grzb.de";
|
||||
"radarr.grzb.de" = "torrent.vs.grzb.de";
|
||||
"searx.nekover.se" = "searx.vs.grzb.de";
|
||||
"social.nekover.se" = "mastodon.vs.grzb.de";
|
||||
|
|
Loading…
Reference in a new issue