diff --git a/systems/LoutreOS/hardware-configuration.nix b/systems/LoutreOS/hardware-configuration.nix index bc18a46..418346f 100644 --- a/systems/LoutreOS/hardware-configuration.nix +++ b/systems/LoutreOS/hardware-configuration.nix @@ -147,6 +147,11 @@ fsType = "zfs"; }; + fileSystems."/var/www" = + { device = "loutrepool/var/www"; + fsType = "zfs"; + }; + swapDevices = [ { diff --git a/systems/LoutreOS/web.nix b/systems/LoutreOS/web.nix index d86bc05..599a8c9 100644 --- a/systems/LoutreOS/web.nix +++ b/systems/LoutreOS/web.nix @@ -41,6 +41,7 @@ in "airsonic.${domaine}" = { ip = "127.0.0.1"; port = 4040; auth = false; }; "${domaine}" = { ip = "127.0.0.1"; port = nginxGetFirstLocalPort "wkd"; auth = false; }; "musique-meyenheim.fr" = { ip = "127.0.0.1"; port = nginxGetFirstLocalPort "musique-meyenheim.fr"; auth = false; }; + "minecraft.${domaine}" = { ip = "127.0.0.1"; port = nginxGetFirstLocalPort "minecraft-overviewer"; auth = false; }; }; }; @@ -57,6 +58,10 @@ in listen = [ { addr = "127.0.0.1"; port = 52351; } ]; locations = { "/" = { root = "/var/www/factorio"; }; }; }; + "minecraft-overviewer" = { + listen = [ { addr = "127.0.0.1"; port = 52354; } ]; + locations = { "/" = { root = "/var/www/minecraft-overviewer"; }; }; + }; "wkd" = { listen = [ { addr = "127.0.0.1"; port = 52352; } ]; locations = { "/.well-known/openpgpkey/" = {