Useful References for Understanding Nix/NixOS
I recently used Nix to configure my M2 Macbook Air, and manage all of my dotfiles. In the process I found a lot of useful references, detailing the ins and outs of Nix and NixOS.
I'm currently building out a similar solution for my homelab, and thought to document a list of useful references here.
References
- Nix Dev
- Nix Manual
- NixOS Manual
- Home Manager Manual
- Nix Darwin Manual
- Devenv Developer Environments
- Determinate Systems Zero to Nix
- The Nix Hour - YouTube Playlist
Useful Posts
- Matthias Benaet's Dotfiles: this is where I first began, Matthias has a really good video series introduction as well, you can find the details in the linked repo
- Jordan Isaac on Nix Flakes: comprehensive introduction into creating a Flake in Nix
- Alexander Bantyev on Nix Flakes: great beginner friendly guide
- Bob Vanderlinden on Customising Nix Packages: as you get deeper into the rabbit hole of Nix, you will likely need to customise Nix packages, this post clearly explains the different ways you can accomplish this, and why you would use one over another
- Xe Iaso on Securing NixOS: details how to create a more secure NixOS when running a production server
- Xe Iaso on Creating a Secure AWS NixOS Image: detailed walk through of code to create a secure NixOS image in AWS
- Graham Christensen on Impermanence in NixOS: explains how to setup a NixOS system that erases at boot, and why the approach is useful - also checkout the nix-community impermanence repo
- Elis Hirwing on tmpfs as root: alternative method of impermanence on NixOS
other posts