NixOracle: add personal site on tadix.dev

Static HTML/CSS served by nginx with Let's Encrypt. Includes about,
projects and writing sections (placeholders) and contact links.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ltadeu6 2026-05-24 15:22:30 -03:00
parent cb944676a7
commit cf9dbf377a
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D
3 changed files with 128 additions and 0 deletions

View file

@ -18,6 +18,11 @@ let
numpy
pandas
]);
site = pkgs.runCommand "tadix-site" { } ''
mkdir -p $out
cp ${./site/index.html} $out/index.html
cp ${./site/style.css} $out/style.css
'';
in {
imports = [
./hardware-configuration.nix
@ -78,6 +83,11 @@ in {
services.nginx = {
enable = true;
virtualHosts."tadix.dev" = {
enableACME = true;
forceSSL = true;
root = "${site}";
};
virtualHosts."jupyter.tadix.dev" = {
enableACME = true;
forceSSL = true;