Installing Nix and Home Manager in Arch Linux

Hi, I’m Matt and I’m one of those masochists who uses a chromebook as their personal development machine (not work though, I’m not that crazy). A cool thing about Chrome OS’s Linux support is that you can swap the default, boring Debian container for any LXC image. Here’s an archwiki page on how to swap it to Arch!

A not-so-cool thing about that LXC setup is that there isn’t a NixOS LXC image available 😢. Instead, I set up an Arch Linux container with Nix and Home Manager. Best of both worlds I guess? Here’s how to do it.

Read more →

Getting Dependabot and semantic-release to Play Nice

The other day, GitHub sent me a notification that there were a couple security vulnerabilities in the dependencies of one of my personal projects, castaway. Having used Dependabot at work, I figured I’d enable it and get that vulnerability taken care of.

After I merged one of Dependabot’s PRs, I was shocked (😱) to find that semantic-release hadn’t made a release for it. Dependabot prefixed the commit with build(deps):, and semantic-release only creates releases for commits with prefixes fix and feat.

What’s the point of a security update if it doesn’t actually build a new image? Looks like I’ve got some work to do.

Read more →

Saibamen Attack! Building a Raspberry Pi Cluster

Over the holidays I made a k3s (that’s Kubernetes minus 5) cluster out of Raspberry Pis I had lying around. And while it’s extremely cool, it’s also pretty unstable.

In this post, I’ll outline what this new cluster looks like and go into detail on how I set it up. At the end, I’ll talk a little bit about why I won’t be entrusting it with my most important tasks just yet.

Read more →