Automatically Upgrading a Sendy Instance

Sendy is a self-hosted Newsletter manager. We've got a couple instance of Sendy running, and instead of manually upgrading each when a new version comes out, we simply run the following script for each. It's based off of the instructions from Sendy's Get Updated Page.

Declarative Specification of a User Profile with the Nix Package Manager

Nix is a package manager that lets your install software into a separate user profile and a system profile. The system profile is available for users of NixOS, and the installed software is specified in the /etc/nixos/configuration.nix file. For those on distributions other than NixOS, software can only be installed imperatively(via the command line instead of a configuration file) into the user profile. With a small trick, we can specify our user profile declaratively instead of imperatively.