Posts

  1. NixOS: Avoiding filesystem corruption with hibernation and ephemeral root

    When resuming from hibernation on a NixOS installation with an ephemeral root filesystem you might run into subtle filesystem corruption issues. Here's why and how to avoid them.

  2. To Lens or not to Lens?

    For my first steps with Haskell I've evaluated options for handling records, including the optics libraries "lens" and "optics-core".

  3. Restoring my broken file system with Btrfs, NixOS and Restic

    A while ago I accidentally broke the Btrfs installation on my laptop but thanks to some safety nets of the systems I had put in place I was able to restore everything within hours. This is as a postmortem/analysis/account of that incident.