diff --git a/nixos/components/network/tinc/private.nix b/nixos/components/network/tinc/private.nix index f3b8b96..962d750 100644 --- a/nixos/components/network/tinc/private.nix +++ b/nixos/components/network/tinc/private.nix @@ -31,17 +31,18 @@ let "tdarr.pepe" = hosts.pepe; "tts.pepe" = hosts.pepe; # chungus - "git.chungus" = hosts.chungus; + "de.tts.chungus" = hosts.chungus; + "en.tts.chungus" = hosts.chungus; "flix.chungus" = hosts.chungus; + "git.chungus" = hosts.chungus; "grafana.chungus" = hosts.chungus; "loki.chungus" = hosts.chungus; "prometheus.chungus" = hosts.chungus; + "s3.chungus" = hosts.chungus; "sync.chungus" = hosts.chungus; "tdarr.chungus" = hosts.chungus; "trilium.chungus" = hosts.chungus; "tts.chungus" = hosts.chungus; - "de.tts.chungus" = hosts.chungus; - "en.tts.chungus" = hosts.chungus; # cream "trilium.cream" = hosts.cream; }; diff --git a/nixos/machines/chungus/configuration.nix b/nixos/machines/chungus/configuration.nix index 3abc809..4fec02e 100644 --- a/nixos/machines/chungus/configuration.nix +++ b/nixos/machines/chungus/configuration.nix @@ -46,6 +46,8 @@ ./sync-script.nix ./syncthing.nix + ./services-s3.nix + #./kiosk.nix ./trilium.nix ./gitea.nix diff --git a/nixos/machines/chungus/services-s3.nix b/nixos/machines/chungus/services-s3.nix new file mode 100644 index 0000000..90ba5bf --- /dev/null +++ b/nixos/machines/chungus/services-s3.nix @@ -0,0 +1,18 @@ +{ config, ... }: +{ + services.minio = { + enable = true; + region = "home"; + }; + + services.nginx = { + enable = true; + virtualHosts."s3.${config.networking.hostName}.private" = { + locations."/" = { + recommendedProxySettings = true; + proxyWebsockets = true; + proxyPass = "http://localhost:9001"; + }; + }; + }; +} diff --git a/nixos/machines/robi/configuration.nix b/nixos/machines/robi/configuration.nix index ef3f9e8..e26bea7 100644 --- a/nixos/machines/robi/configuration.nix +++ b/nixos/machines/robi/configuration.nix @@ -34,7 +34,7 @@ ./media-transmission.nix ./media-transmission2.nix - #./social-jitsi.nix + ./social-jitsi.nix #./webhook-ring.nix