diff --git a/systems/LoutreOS/services.nix b/systems/LoutreOS/services.nix index 0539a3007..fa6a9f315 100644 --- a/systems/LoutreOS/services.nix +++ b/systems/LoutreOS/services.nix @@ -9,6 +9,7 @@ let pgmanage_port = 52347; max_port = 52348; musique_port = 52349; + factorio_port = 52351; in { @@ -60,6 +61,7 @@ in "pgmanage.${domaine}" = { ip = "127.0.0.1"; port = pgmanage_port; auth = true; }; "gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; }; "ci.${domaine}" = { ip = "127.0.0.1"; port = 52350; auth = false; }; + "factorio.${domaine}" = { ip = "127.0.0.1"; port = factorio_port; auth = false; }; }; }; @@ -210,6 +212,10 @@ in listen = [ { addr = "127.0.0.1"; port = riot_port; } ]; locations = { "/" = { root = pkgs.riot-web; }; }; }; + "factorio" = { + listen = [ { addr = "127.0.0.1"; port = factorio_port; } ]; + locations = { "/" = { root = "/var/www/factorio"; }; }; + }; }; };