My Nix and Home-Manager configuration for NixOS based systems.
Note
This repository is not meant to be used as a whole, but rather as a reference for my own configuration. I do not recommend using it as is, as it is not meant to be used by anyone else. I do not provide any support for this repository. If you want to use it, you are on your own.
Important
I'll eventually switch to flakes and hive (or flake-parts + haumea | omnibus) configuration.
Caution
Although nixos.wiki has been mentioned and referenced in many places in this repository, it is not an official documentation, it's user maintained. It's not recommended to use the unofficial wiki, instead use the official wiki. The unofficial wiki is not up-to-date, poorly maintained and may contain incorrect information. Replaced all references to the unofficial wiki with the official wiki. However, some references might be dead, so you may still need to visit the unofficial wiki or other.
The official documentation is available at wiki.nixos.org.
alejandra is used to format all the nix files. nixfmt and nixpkgs-fmt both advertise ugly and confusing diffs. It is based on the original style of Nixpkgs, and then they applied the feedback from developers with extensive experience using Nix at scale, producing a very well-grounded style guide.
statix is used to capture and fix anti-patterns in all the nix files.
deadnix is used to scan nix files for dead code and automatically remove unused code.