Merge branch 'main' of github.com:anotherhadi/nixy

This commit is contained in:
Hadi
2025-05-12 13:27:39 +02:00
3 changed files with 16 additions and 12 deletions

View File

@@ -31,7 +31,10 @@
owner = "recyclarr"; owner = "recyclarr";
mode = "0777"; mode = "0777";
}; };
wireguard-pia = { }; wireguard-pia = {
# owner = "torrenter";
mode = "0600";
};
}; };
}; };

View File

@@ -9,10 +9,10 @@ let
in { in {
nixarr = { nixarr = {
enable = true; enable = true;
vpn = { # vpn = {
enable = true; # enable = true;
wgConf = config.sops.secrets.wireguard-pia.path; # wgConf = config.sops.secrets.wireguard-pia.path;
}; # };
mediaDir = "/data/media"; mediaDir = "/data/media";
stateDir = "/data/.state/nixarr"; stateDir = "/data/.state/nixarr";
@@ -21,11 +21,12 @@ in {
prowlarr.enable = true; prowlarr.enable = true;
radarr.enable = true; radarr.enable = true;
sonarr.enable = true; sonarr.enable = true;
transmission = { bazarr.enable = true;
enable = true; # transmission = {
extraSettings = { trash-original-torrent-files = true; }; # enable = true;
vpn.enable = true; # extraSettings = { trash-original-torrent-files = true; };
}; # vpn.enable = true;
# };
recyclarr = { recyclarr = {
enable = true; enable = true;
@@ -36,10 +37,10 @@ in {
services.nginx.virtualHosts = { services.nginx.virtualHosts = {
"jellyfin.${domain}" = mkVirtualHost "jellyfin" 8096; "jellyfin.${domain}" = mkVirtualHost "jellyfin" 8096;
"jellyseerr.${domain}" = mkVirtualHost "jellyseerr" 5055; "jellyseerr.${domain}" = mkVirtualHost "jellyseerr" 5055;
"bazarr.${domain}" = mkVirtualHost "bazarr" 6767;
"prowlarr.${domain}" = mkVirtualHost "prowlarr" 9696; "prowlarr.${domain}" = mkVirtualHost "prowlarr" 9696;
"radarr.${domain}" = mkVirtualHost "radarr" 7878; "radarr.${domain}" = mkVirtualHost "radarr" 7878;
"sonarr.${domain}" = mkVirtualHost "sonarr" 8989; "sonarr.${domain}" = mkVirtualHost "sonarr" 8989;
"sabnzbd.${domain}" = mkVirtualHost "sabnzbd" 8080;
"transmission.${domain}" = mkVirtualHost "transmission" 9091; "transmission.${domain}" = mkVirtualHost "transmission" 9091;
}; };
} }

View File

@@ -34,7 +34,7 @@ in {
enable = true; enable = true;
settings = { settings = {
theme = { theme = {
primary-color = lib.mkForce rgb-to-hsl "base0D"; # primary-color = rgb-to-hsl "base0D";
contrast-multiplier = lib.mkForce 1.4; contrast-multiplier = lib.mkForce 1.4;
}; };
pages = [{ pages = [{