From 89ddac7de0d95a1f63162a704785130b3e17a2fa Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 21 Apr 2025 01:51:56 +0100 Subject: [PATCH] Add daily email for 19/04/25 --- source/_daily_emails/2025-04-19.md | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 source/_daily_emails/2025-04-19.md diff --git a/source/_daily_emails/2025-04-19.md b/source/_daily_emails/2025-04-19.md new file mode 100644 index 000000000..75c204156 --- /dev/null +++ b/source/_daily_emails/2025-04-19.md @@ -0,0 +1,36 @@ +--- +title: Self hosting my website +date: 2025-04-19 +permalink: daily/2025/04/19/self-hosting +tags: + - software-development + - self-hosting + - linux + - drupal +cta: ~ +snippet: | + My website is no longer in the Cloud and has been moved onto my home server. +--- + +I'm now self-hosting my website, the other static websites I maintain and [my Forgejo instance][0] that contains my Git repositories. + +These were previously on a VPS (virtual private server) but now are running on my homelab - an old laptop that I've been using to run Jellyfin and other software. + +It's great to know I have full control over my data and to not pay a recurring monthly cost forever to host my website. Later, if I decide my current homelab laptop needs an upgrade, I can do that. + +With NixOS, the transition from the Cloud to my home server was simple and just a case of moving some configuration files from one directory to another as I've set it up in a modular way. + +I've also switched back to Nginx which was also easy to migrate my configuration and redirects using the Nix language and NixOS configuration options. + +My website is a static website, mostly [generated by Sculpin][1] but there are some pages generated by Tome - [a static site generator for Drupal][5]. + +I'm migrating my email list archive and daily pages first and will later move my presentations, podcast episodes and old blog posts, but I'm [doing it incrementally based on the path][2] so I can do pieces as I can around client work. + +If you like, you can [see my NixOS configuration][3] that includes my laptop and homelab and [my Tome repository][4] and keep track as I migrate things across. + +[0]: https://code.oliverdavies.uk +[1]: {{site.url}}/presentations/sculpin +[2]: {{site.url}}/daily/2025/04/17/incrementally +[3]: https://code.oliverdavies.uk/opdavies/nixos-configuraton +[4]: https://code.oliverdavies.uk/opdavies/oliverdavies.uk-tome +[5]: {{site.url}}/daily/2025/04/18/static-drupal