From 76c2ec36f2873e9d5a891dca73f8f1f7b24cb409 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 14 Jun 2022 20:21:06 -0400 Subject: [PATCH] Forward progress site hosting --- flake.nix | 1 + system-specific/oracles/minecraft.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 system-specific/oracles/minecraft.nix diff --git a/flake.nix b/flake.nix index b0b220f..d9c1a6d 100644 --- a/flake.nix +++ b/flake.nix @@ -195,6 +195,7 @@ ./system-specific/oracles/matrix.nix ./system-specific/oracles/gitlab-runner.nix ./system-specific/oracles/gitea.nix + ./system-specific/oracles/minecraft.nix ] ++ serverModules; }; diff --git a/system-specific/oracles/minecraft.nix b/system-specific/oracles/minecraft.nix new file mode 100644 index 0000000..e69fb3d --- /dev/null +++ b/system-specific/oracles/minecraft.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: + +{ + # Webserver for hosting pack + services.nginx.virtualHosts."pack.forward-progress.net" = { + enableAcme = true; + forceSSL = true; + root = "/var/www/pack.forward-progress.net"; + }; +}