Copying Nix Flake inputs to a different machine

Simple one-liner to avoid re-downloading inputs on a different machine on your LAN

November 2, 2025 · 1 min

Creating private services on NixOS using Tailscale and Caddy

A simple guide to setting up private services on NixOS using Tailscale and Caddy with authentication.

September 13, 2025 · Last modified: September 13, 2025 · 4 min

Configuring Windows dual-boot on NixOS automatically

NixOS has a module option in systemd-boot that automatically configures boot entries for Windows without requiring me to copy over the EFI folder [ref]

June 30, 2025 · 1 min

Getting the full systemd unit file for a service

You can run systemctl show servicename.service to get the “final” version of your systemd service file, including all overrides which would typically be loaded dynamically by systemd itself and not visible in the actual unit file. This is extremely helpful on NixOS where packages can sometimes re-use upstream systemd unit files and inject NixOS specific options through an override file.

June 30, 2025 · 1 min

GNOME keyring daemon failing with 'No such secret item at path'

After a GNOME related NixOS rebuild sometimes the secret store starts erroring out with this message: No such secret item at path: /org/freedesktop/secrets/collection/login/145 This is resolved by restarting the gnome-keyring-daemon using the command gnome-keyring-daemon -r -d.

June 30, 2025 · 1 min

Tutorial for the NixOS module system

Found this awesome reference for the NixOS module system: https://nix.dev/tutorials/module-system/index.html

June 30, 2025 · 1 min

Type='oneshot' services block systemctl CLI

Systemd runs all units that specify Type=oneshot to completion in a blocking manner which is what causes my NixOS configuration switching to sometimes get stuck with a long-running task. The solution is to use Type=simple and instead configure the restart policy to not fire unnecessarily.

June 30, 2025 · 1 min

Using Tailscale exit nodes on NixOS

Tailscale on NixOS requires setting services.tailscale.useRoutingFeatures = "client" on the non-exit-node machines to allow routing to work.

June 30, 2025 · 1 min

Assorted NixOS things

Running log of random things I’ve learned about Nix/NixOS/Nixpkgs

December 7, 2024 · Last modified: December 15, 2024 · 3 min