Johan Eliasson

Tech, space, games and random stuff

Settling into NixOS

Earlier this year, I decided it was time for a change in my setup. After a year on Linux Mint with i3, things were solid but starting to show cracks. Gaming was better than ever thanks to Proton, but Xorg wasn’t cutting it. My Ansible-managed dotfiles repo was working, but the workstations were slowly drifting out of sync. Apt was still rock solid, but packages were often outdated or missing entirely. Arch Linux vs NixOS: Arch had the hype, the rolling updates, the endless tinkering. NixOS had the reproducibility, the rebuilds, the peace of mind. I knew which side of that fight I wanted to be on - and my love for declarative setups made NixOS the obvious pick. ...

Creating a npm package to extend husky

A couple of months ago I stumbled upon the npm package husky. It provides a way to hook into various git hooks and brings some nice opportunities in improving DX. After having husky and a few hooks in some various git projects, I thought it would be a fun mini project to make these hooks into a separate npm package: @jeliasson/husky-hooks was created. This npm package aims to increase the developer experience and consistency by providing a set of hooks that can be opted-in the development lifecycle. It depends on husky for pre-commit and pre-push hooks, and a few other zero/low dependency packages. ...