NixOracle: deploy BioLab on biolab.tadix.dev

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ltadeu6 2026-05-24 19:23:42 -03:00
parent 2ca0495678
commit ad3b167f43
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D

View file

@ -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;