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:
parent
cb944676a7
commit
cf9dbf377a
3 changed files with 128 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue