nix

2022-01-01 #posts

i really love the idea of nix/nixos. my note-taking skills could be better and nix makes it hard for me to forget the steps needed to have something set up. quite often after i wrestle with an issue and finally have a thing working, i'm afraid of touching it when i come back to it weeks later.

with nix, because i need to declaratively write down what i want in order to have it working it almost becomes self-documenting.

setting up a system with an out of tree driver sucks the first time (e.g. if i need the driver for working wifi) - but with nixos because i had to write that in the configuration file at least i wont forget it the second time if i need to reinstall the system.

this post is partly inspired by me taking a look at how i have this website setup to write posts, and making it use nix flakes instead of some docker-frankenstein setup i had just to have stuff like zola/tailwindcss available. it wasn't smooth sailing to use nix flakes - i'm having so much trouble finding the right documentation - but now i've got something nice and simple set up so i'm happy (for now).

happy new year by the way, hope this new one is better