# Building a blog with Hugo and Nix

**URL:** https://discourse.nixosstag.fcio.net/t/building-a-blog-with-hugo-and-nix/38201
**Category:** Guides
**Created:** [January 13, 2024, 9:45am UTC](https://discourse.nixosstag.fcio.net/t/building-a-blog-with-hugo-and-nix/38201 "2024-01-13T09:45:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jnsgruk](https://discourse.nixosstag.fcio.net/user_avatar/discourse.nixosstag.fcio.net/jnsgruk/32/9362_2.png) [@jnsgruk](https://discourse.nixosstag.fcio.net/u/jnsgruk)
#### Post date: [January 13, 2024, 9:45am UTC](https://discourse.nixosstag.fcio.net/t/building-a-blog-with-hugo-and-nix/38201/1 "2024-01-13T09:45:12Z")

</div>

Hi all

I recently started a blog built with Go, Hugo and Nix. I wrote about it here (source code linked below):

> **[Building a blog with Go, Nix and Hugo](https://jnsgr.uk/2024/01/building-a-blog-with-go-nix-hugo/)**
>
> Documenting how I render, serve, build and deploy my personal website and blog using a
> combination of Go, Hugo, Nix and Fly.io.

Dropping here in case there is anything useful for folks.

Code is at: [GitHub - jnsgruk/jnsgr.uk: My personal webpage and blog](https://github.com/jnsgruk/jnsgr.uk)

Cheers!  
Jon

---

<div class="post-metadata">

### Author: ![sshine](https://discourse.nixosstag.fcio.net/user_avatar/discourse.nixosstag.fcio.net/sshine/32/26806_2.png) [@sshine](https://discourse.nixosstag.fcio.net/u/sshine)
#### Post date: [April 13, 2025, 4:37pm UTC](https://discourse.nixosstag.fcio.net/t/building-a-blog-with-hugo-and-nix/38201/2 "2025-04-13T16:37:09Z")

</div>

I’ve written a similar article on setting up a Hugo static site on NixOS:

[https://nix.tools/articles/hugo-static-site-setup/](https://nix.tools/articles/hugo-static-site-setup/)

> **[GitHub - nix-tools/nix-hugo: Tutorial code for...](https://github.com/nix-tools/nix-hugo)**
>
> Tutorial code for https://nix.tools/articles/hugo-static-site-setup/
