Adding sevice

This commit is contained in:
Jordan Ashurst
2026-09-28 17:41:59 -07:00
parent 8ac2555aac
commit f153e57190
+25 -7
View File
@@ -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;