diff --git a/hosts/owncast/default.nix b/hosts/owncast/default.nix index 12582185..20443038 100644 --- a/hosts/owncast/default.nix +++ b/hosts/owncast/default.nix @@ -2,9 +2,13 @@ { deployment = { - persistedShares = [ "/etc" "/home" "/var" ]; vcpu = 8; mem = 2048; + persistedShares = [ "/etc" "/home" "/var" ]; + extraShares = [ { + source = "/glusterfs/big/microvms/c3d2/config/owncast/archive"; + mountPoint = "/mnt/archive"; + } ]; }; c3d2.hq.statistics.enable = true; @@ -35,6 +39,13 @@ proxyPass = "http://127.0.0.1:${toString port}"; proxyWebsockets = true; }; + locations."/archive" = { + root = "/mnt/archive"; + extraConfig = '' + fancyindex on; + fancyindex_exact_size off; + ''; + }; }; }; }