From ad3b167f4390d7a765c133846501873f9159f673 Mon Sep 17 00:00:00 2001 From: ltadeu6 Date: Sun, 24 May 2026 19:23:42 -0300 Subject: [PATCH] NixOracle: deploy BioLab on biolab.tadix.dev Co-Authored-By: Claude Sonnet 4.6 --- hosts/NixOracle/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/NixOracle/configuration.nix b/hosts/NixOracle/configuration.nix index feeb8c7..88905e7 100644 --- a/hosts/NixOracle/configuration.nix +++ b/hosts/NixOracle/configuration.nix @@ -23,6 +23,13 @@ let cp ${./site/index.html} $out/index.html cp ${./site/style.css} $out/style.css ''; + biolabSrc = pkgs.fetchFromGitea { + domain = "git.tadix.dev"; + owner = "ltadeu6"; + repo = "BioLab"; + rev = "eed063f16c8dd9248529a864840c30171feacdc2"; + hash = "sha256-Uot/ETx+RpBtNZG/0BsZxcXinPZGEDoUJSAFLIg4j9E="; + }; in { imports = [ ./hardware-configuration.nix @@ -101,6 +108,11 @@ in { ''; }; }; + virtualHosts."biolab.tadix.dev" = { + enableACME = true; + forceSSL = true; + root = "${biolabSrc}/www"; + }; virtualHosts."jupyter.tadix.dev" = { enableACME = true; forceSSL = true;