LmCast :: Stay tuned in

NixOS is making me less afraid

Recorded: Oct. 20, 2026, 2:10 p.m.

Original Summarized

NixOS is making me less afraid

Entropic Thoughts
NixOS is making me less afraid

Home
Archive
Tags
About
xkqr.org

NixOS is making me less afraid

by kqr,
published 2026-10-20
Tags: nixos
sysadmin

On the go? Listen to an ai-narrated version of this article.

Confused? More about ai narration.

Something funny happened a little while ago: I read about FreshRSS, and it
sounded nice, so I installed it on a server and started using it. That would
not have happened a year ago, but then again, a year ago I didn’t have any NixOS
servers.

For the past few years, my rss feeds have lived locally on my phone only.
There was a good idea behind that11 I can mostly take time to read when I’m
away from my computer anyway., but it never quite worked in practice. For one,
many things are easier to read on a larger screen. But it was also brittle to
trust a phone app to manage the read/unread status of thousands of articles
across a hundred feeds.22 In particular, when I switched to a different phone
I could migrate all feeds to it, but the read/unread status was lost along the
way. What I really wanted was a server-side feed aggregator. This is software
that runs on a server, manages rss feeds, and then I can read the rss feeds
either through a web interface, or through client applications. I’ve wanted that
for a while, but I’ve never taken the step, because it would be yet another side
project to maintain the deployment of.

But now, with some NixOS experience, adding a working FreshRSS configuration
(including backups) took 9 lines of Nix code33 Plus a dozen more lines for the
nginx reverse proxy configuration. It got a little complicated because I wanted
to proxy_pass from a specific location block which required rewriting cookie
paths. But that’s a me problem, not a NixOS problem.. That installation has
just hands-off worked for the past few months. If or when that server breaks, I
can spin up a new one running the exact same configuration, probably in
something like 15 minutes. When we can do something like that, there is
literally no reason to not just try the new software.

Contrast this against how FreshRSS is installed outside of NixOS. Then we’d

download and extract an archive to the right location;
configure permissions according to instructions;
install nginx and php-fpm with necessary extra dependencies to the server;
configure php-fpm pools and make nginx pass requests through to php-fpm;
set up Let’s Encrypt certificates;
set up backups; and
hopefully remember how to do all the above if something breaks and we need to
reinstall FreshRSS on a new or upgraded server later.

Of course, the FreshRSS project provides a container image which would shorten
the process a little bit. It purports to set up Apache with mod_php and
configure them the right way. Then we’d only need to configure backups, create a
systemd service that runs the container, and manage nginx as a tls terminating
reverse proxy in front of that, because the container image reasonably does not
come with tls support. This is still stuff to remember, and there’s also no
guarantee the same thing works six months down the line when reinstalling,
unless we wrote down which exact container image we downloaded.44 It does not
help to build the container image from source, because two builds from the same
Dockerfile separated by time can result in rather different container images.

I have mentioned before how much I dislike maintaining side projects. That
includes my own code, but also self-hosted services developed by someone else.
I’m okay with a few minutes of maintenance here and there, but having to
schedule hours of uninterrupted work to upgrade something, or spending any
amount of time at all on emergency maintenance, really kills my desire to work
with computers.

You’d think someone of my disposition would be deep into configuration
management, container orchestration, or both, but no. I have made honest
attempts with CFEngine, Ansible, podman, and k3s but none of them improved my
installation/configuration/deployment experience significantly over (a)
carefully writing things down, and sometimes (b) turning those careful notes
into a shell script performing a sequence of ssh commands.55 Yes, this is
essentially reinventing Ansible – but less brittle. It won’t break the next time
someone glances sideways at pip. The drawback of the shell script is that it
often ends up relying on assumptions that become invalid with time, or when it
is used in a different environment. A NixOS configuration reads a lot like the
careful instructions to myself, except they’re executable and they produce the
same result every time.

Sidenotes
1 I can mostly take time to read when I’m
away from my computer anyway.
2 In particular, when I switched to a different phone
I could migrate all feeds to it, but the read/unread status was lost along the
way.
3 Plus a dozen more lines for the
nginx reverse proxy configuration. It got a little complicated because I wanted
to proxy_pass from a specific location block which required rewriting cookie
paths. But that’s a me problem, not a NixOS problem.
4 It does not
help to build the container image from source, because two builds from the same
Dockerfile separated by time can result in rather different container images.
5 Yes, this is
essentially reinventing Ansible – but less brittle. It won’t break the next time
someone glances sideways at pip.

If you liked this and want more you should
buy me a coffee.
That helps me turn my 170+ ideas backlog into articles.

Shoutout to my amazing wife
  without whose support I would never
make it past the first sentence. ♥

S = k log W. Comments? Send
me an email.

You can also subscribe for new articles.

In the article "NixOS is making me less afraid" by kqr, the author articulates a transformative experience in which the adoption of NixOS has significantly diminished their anxiety associated with self-hosting services, particularly the setup and maintenance of a FreshRSS server. Prior to this, the author relied on local, phone-based RSS feeds, which were impractical due to limited reading experience on mobile screens and the inability to reliably manage read/unread status across multiple feeds and devices without losing synchronization. The author's desire for a server-side feed aggregator led to installing FreshRSS on a server, but without NixOS, the installation process was cumbersome and required extensive manual configuration.

With NixOS, the author reports that configuring a functional FreshRSS instance, including backups, required only a minimal number of lines of Nix code, supplemented by a dozen or so lines for an nginx reverse proxy configuration. Although the nginx setup introduced a minor challenge involving cookie path rewriting, the author notes this is a personal issue rather than a limitation of NixOS. The resulting configuration has functioned hands-off for several months, and the author highlights the critical benefit of reproducibility: if the server ever fails, the identical setup can be recreated in roughly fifteen minutes. This reliability provides a substantial reduction in fear, as the author feels confident in the system's consistency and recovery.

This contrasts sharply with alternative approaches to FreshRSS deployment. A non-NixOS installation demands a multi-step manual process, involving extracting archives, configuring permissions, installing necessary dependencies such as nginx and php-fpm, configuring pool settings, setting up TLS certificates, and establishing backups, all of which must be memorized for reinstallation. Even when leveraging a container image, which can simplify some steps, the author acknowledges that this still requires careful management of specific container image versions and additional configuration for TLS and reverse proxy, with no guarantee of consistent behavior over time. Building containers from source further compounds the risk, as two builds from the same Dockerfile can yield substantially different images.

The author's broader discomfort with maintaining side projects is a key driver of their experience. They express a general aversion to the burdensome work of self-hosted services, acknowledging that minor maintenance is tolerable but that scheduling hours of uninterrupted work or dealing with emergency maintenance undermines their willingness to engage with computers. NixOS has alleviated this fear by offering a robust, reproducible foundation that eliminates the need for extensive manual intervention. The author describes NixOS configurations as resembling detailed, executable instructions that consistently produce the same outcome, in stark contrast to brittle shell scripts that often rely on outdated assumptions that become invalid over time.

The author has previously explored other configuration management tools, including CFEngine, Ansible, podman, and k3s, but finds that none have significantly enhanced their installation, configuration, and deployment experience compared to NixOS. They emphasize that NixOS provides a less brittle, more reliable solution, as it does not break with time or when used in different environments. Ultimately, the article underscores how NixOS's inherent reproducibility and simplicity have transformed the author's confidence, making it feasible to adopt and maintain self-hosted services without the persistent fear of failure or excessive maintenance burden.