Adding sevice
This commit is contained in:
+25
-7
@@ -3,8 +3,13 @@
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.configarr.nixosModules.default
|
||||
];
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.ip_forward" = 1;
|
||||
"net.bridge.bridge-nf-call-iptables" = 1;
|
||||
@@ -26,25 +31,34 @@
|
||||
environmentFile = config.sops.templates."caddy.env".path;
|
||||
virtualHosts."centraldogma.site:".extraConfig = ''
|
||||
|
||||
root /srv/root/
|
||||
file_server
|
||||
root /mnt/games/
|
||||
file_server browse
|
||||
encode zstd gzip
|
||||
|
||||
redir /jellyfin /jellyfin/
|
||||
reverse_proxy /jellyfin/* 127.0.0.1:8096
|
||||
|
||||
|
||||
redir /radarr /radarr/
|
||||
reverse_proxy /radarr/* 127.0.0.1:7878
|
||||
|
||||
'';
|
||||
# virtualHosts."dogma.lan:".extraConfig = ''
|
||||
# tls internal
|
||||
# root * /srv/root/
|
||||
# file_server browse
|
||||
# encode zstd gzip
|
||||
# '';
|
||||
#
|
||||
virtualHosts."jellyfin.centraldogma.site:".extraConfig = ''
|
||||
reverse_proxy /* 127.0.0.1:8096
|
||||
'';
|
||||
virtualHosts."jellyfin2.centraldogma.site:".extraConfig = ''
|
||||
|
||||
virtualHosts."sonarr.centraldogma.site:".extraConfig = ''
|
||||
redir /sonarr /sonarr/
|
||||
reverse_proxy /sonarr/* 127.0.0.1:8989
|
||||
'';
|
||||
|
||||
virtualHosts."radarr.centraldogma.site:".extraConfig = ''
|
||||
redir /radarr /radarr/
|
||||
reverse_proxy /radarr/* 127.0.0.1:7878
|
||||
'';
|
||||
virtualHosts."git.centraldogma.site:".extraConfig = ''
|
||||
reverse_proxy /* 127.0.0.1:3000
|
||||
'';
|
||||
@@ -52,6 +66,10 @@
|
||||
|
||||
services.flaresolverr.enable = true;
|
||||
|
||||
services.configarr = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.mongodb = {
|
||||
enable = true;
|
||||
package = pkgs.mongodb-ce;
|
||||
|
||||
Reference in New Issue
Block a user