NixOracle: deploy BioLab on biolab.tadix.dev
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2ca0495678
commit
ad3b167f43
1 changed files with 12 additions and 0 deletions
|
|
@ -23,6 +23,13 @@ let
|
||||||
cp ${./site/index.html} $out/index.html
|
cp ${./site/index.html} $out/index.html
|
||||||
cp ${./site/style.css} $out/style.css
|
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 {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
@ -101,6 +108,11 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
virtualHosts."biolab.tadix.dev" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
root = "${biolabSrc}/www";
|
||||||
|
};
|
||||||
virtualHosts."jupyter.tadix.dev" = {
|
virtualHosts."jupyter.tadix.dev" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue