Skip to content

danielgafni/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daniel Gafni's Website

Source code for my website

Technologies used:

  • nix - dev environment, packaging, deployment. Provides all necessary packages.
  • zola - static website generator from markdown
  • OpenTofu - IaC for Hetzner & Cloudflare
  • Hetzner Cloud - VM hosting
  • Cloudflare - caching & proxy
  • Prometheus - metrics collection
  • Grafana - metrics visualistaion

The only tool required to build and deploy everything is Nix (flakes have to be enabled).

nix installs all the other tools (terraform, zola, etc.).

NixOS is used to define the server contents. The website is served via nginx, which is running as a NixOS service, as well as Prometheus and Grafana. Grafana can be accessed at grafana.gafni.dev.

File Structure

.
├── infra  # deployment code
├── LICENSE
└── www  # website code

Acknowledgements

Nix & OpenTofu usage is inspired by the excellent series of posts by @flakm

About

My personal website

Topics

Resources

License

Stars

Watchers

Forks