Automatic NixOS upgrades with a CI-managed flake lock and deploy keys

Posted on Sat 28 November 2026 in NixOS • Tagged with nixos, flakes, github-actions, auto-upgrade, deploy-keys

Across my NixOS machines, I wanted flake.lock managed in one place for automatic upgrades. A daily GitHub Action updates the lock, and each host pulls it over SSH with its own read-only deploy key.


Continue reading

Unlock a LUKS-encrypted disk over SSH with NixOS initrd networking

Posted on Sun 17 May 2026 in NixOS • Tagged with nixos, luks, ssh, initrd, encryption

A headless server with an encrypted root disk needs a passphrase on every boot. NixOS can bring up the network in the initrd and run an SSH server, so you can unlock the disk from another machine.


Continue reading

Why I replaced six version managers with mise

Posted on Fri 01 May 2026 in Tooling • Tagged with mise, pyenv, nodenv, jenv, goenv, tfenv, dotfiles, zsh

Six managers, six checkouts in $HOME, five blocks in .zshrc and a separate version file for every language. One mise.toml now covers all six.


Continue reading

On managing dotfiles with vcsh and mr

Posted on Sun 15 June 2025 in Tooling • Tagged with dotfiles, vcsh, mr, git, zsh, vim

vcsh keeps each dotfiles repository checked out directly in $HOME without symlinks. mr adds one bootstrap command, parallel updates and a way for each repository to manage its own plugin checkouts.


Continue reading

Setup Pimoroni OnOff SHIM using Device Tree Overlays

Posted on Sat 30 March 2024 in Hardware • Tagged with raspberrypi, shim, onoff, bookworm

The OnOff SHIM by Pimoroni is a convenient power switch for the Raspberry Pi. The official guide suggests to install a daemon that initiates a clean shutdown on button press. A much simpler solution is to use device tree overlays and avoid 3rd-party tools.


Continue reading

Enable hardware watchdog on Raspberry Pi-powered Volumio audio player

Posted on Thu 28 March 2024 in Audio • Tagged with volumio, raspberrypi, watchdog

The Raspberry Pi features a built-in hardware watchdog timer that automatically resets the system if it becomes unresponsive or freezes. This can be handy when used as an audio player like Volumio - especially if the hardware is not easy to access.


Continue reading

WriteTheDocsEU 2017 post-event wrap-up report

Posted on Sun 24 September 2017 in Documentation • Tagged with writethedocs, documentation, conference, report

A wrap-up of WriteTheDocs EU 2017 in Prague, covering the talks on documentation types, language, getting started guides, and feedback.


Continue reading