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. Linux Mint with i3 had served me well, but Xorg was starting to feel dated, especially performance-wise. That’s when I started thinking about what I actually wanted from my system. I could go the Arch route and live on the bleeding edge, or try something different and more predictable. Then I remembered looking at NixOS a long time ago. The idea of describing an entire system in configuration and being able to rebuild it anytime had always stuck with me. The more I read about it, the more it felt like the direction I wanted to go. ...

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. ...