Try jellyseerr
This commit is contained in:
parent
c494beed60
commit
472f7176ca
5 changed files with 43 additions and 36 deletions
|
|
@ -106,15 +106,15 @@ let usr = config.constants.userName; in {
|
|||
services = {
|
||||
colord.enable = true;
|
||||
desktopManager.plasma6.enable = true;
|
||||
displayManager = {
|
||||
autoLogin.user = usr;
|
||||
sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
};
|
||||
xserver = {
|
||||
enable = true;
|
||||
displayManager = {
|
||||
autoLogin.user = usr;
|
||||
sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
};
|
||||
videoDrivers = [ "amdgpu" ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,8 +3,14 @@
|
|||
{
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
user = config.constants.userName;
|
||||
services = let const = config.constants; in {
|
||||
jellyfin = {
|
||||
enable = true;
|
||||
user = const.userName;
|
||||
};
|
||||
jellyseerr = {
|
||||
enable = true;
|
||||
port = const.port.jellyseerr;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
virtualHosts =
|
||||
let
|
||||
dn = config.constants.domain;
|
||||
home = "100.64.0.3";
|
||||
local = config.constants.localhost;
|
||||
homeSrv = s: "nebula:${portStr.${s}}";
|
||||
localSrv = s: "${config.constants.localhost}:${portStr.${s}}";
|
||||
msfqdn = config.mailserver.fqdn;
|
||||
mtfqdn = "matrix.${dn}";
|
||||
portStr = builtins.mapAttrs (n: v: toString v) config.constants.port;
|
||||
|
|
@ -25,13 +25,13 @@
|
|||
}`
|
||||
'';
|
||||
"forgejo.${dn}".extraConfig = ''
|
||||
reverse_proxy ${home}:${portStr.forgejo}
|
||||
reverse_proxy ${homeSrv "forgejo"}
|
||||
'';
|
||||
"headscale.${dn}".extraConfig = ''
|
||||
reverse_proxy ${local}:${portStr.headscale}
|
||||
reverse_proxy ${localSrv "headscale"}
|
||||
'';
|
||||
"jellyfin.${dn}".extraConfig = ''
|
||||
reverse_proxy ${home}:${portStr.jellyfin}
|
||||
reverse_proxy ${homeSrv "jellyfin"}
|
||||
'';
|
||||
${msfqdn} = {
|
||||
extraConfig = ''
|
||||
|
|
@ -42,18 +42,18 @@
|
|||
useACMEHost = msfqdn;
|
||||
};
|
||||
"matrix.${dn}".extraConfig = ''
|
||||
reverse_proxy /_matrix/* ${home}:${portStr.conduit}
|
||||
reverse_proxy /_matrix/* ${homeSrv "conduit"}
|
||||
file_server {
|
||||
root ${pkgs.cinny}
|
||||
}
|
||||
'';
|
||||
"vault.${dn}".extraConfig = ''
|
||||
reverse_proxy ${local}:${portStr.vault} {
|
||||
reverse_proxy ${localSrv "vault"} {
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
'';
|
||||
"writefreely.${dn}".extraConfig = ''
|
||||
reverse_proxy ${home}:${portStr.writefreely}
|
||||
reverse_proxy ${homeSrv "writefreely"}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue