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;

View file

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lucas Tadeu</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Lucas Tadeu</h1>
<p class="dim">tadeu(1) — personal page</p>
</header>
<hr>
<section>
<h2>ABOUT</h2>
<p>Software developer. Interested in systems, automation, and open source.</p>
</section>
<section>
<h2>PROJECTS</h2>
<p class="dim">— nothing here yet —</p>
</section>
<section>
<h2>WRITING</h2>
<p class="dim">— nothing here yet —</p>
</section>
<hr>
<footer>
<a href="mailto:ltadeu6@pm.me">email</a>
<a href="https://github.com/ltadeu6">github</a>
<a href="https://jupyter.tadix.dev">jupyter</a>
</footer>
</body>
</html>

View file

@ -0,0 +1,78 @@
:root {
--bg: #0f0f0f;
--fg: #d4d4d4;
--dim: #555;
--accent: #7aa2f7;
--border: #2a2a2a;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: var(--bg);
color: var(--fg);
font-family: 'Courier New', Courier, monospace;
font-size: 14px;
line-height: 1.7;
max-width: 60ch;
margin: 5rem auto;
padding: 0 1.5rem;
}
h1 {
font-size: 1em;
font-weight: bold;
letter-spacing: 0.05em;
}
h2 {
font-size: 0.85em;
font-weight: normal;
letter-spacing: 0.12em;
color: var(--dim);
margin-bottom: 0.6rem;
}
hr {
border: none;
border-top: 1px solid var(--border);
margin: 2rem 0;
}
section {
margin-bottom: 2rem;
}
p {
margin-bottom: 0.4rem;
}
.dim {
color: var(--dim);
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
footer {
display: flex;
gap: 2rem;
}
footer a {
color: var(--dim);
}
footer a::before {
content: '→ ';
}