Before you get into dive into this configuration, let's establish a few things first.
In order to make use of this system in the first place, you need the following components.
- A NixOS installer image with flakes enabled.
An example would be the unstable versions from link:https://releases.nixos.org/?prefix=nixos/unstable/[NixOS project release page].
As an additional option, you can also use link:https://github.com/foo-dogsquared/nixos-config/releases/tag/latest[my personalized NixOS installers] which is primarily intended for me configs.
- A flash drive or any storage device that will boot the installer image up for installation.
- A computer with disabled secure boot.
Because unfortunately, that's the state of most Linux distros right now. footnote:[But things change hopefully with github:nix-community/lanzaboote[Lanzaboote project] into usable and stable state.]
This primarily uses Nix flakes so you can have a preview of what's available in my config.
[source, shell, subs=attributes]
----
nix flake show {canonical-flake-url}
----
All you have to do is to flash the installer image into the flash drive and boot with the drive (with the disabled secure boot).
Then run the following command in the shell as root.
Take note most systems have an additional prerequisites such as activating xref:../../04-nixos-modules/03-disko/index.adoc[disko modules] and the private keys that are missing (and other stuff as mentioned from xref:../05-what-should-not-be-here/index.adoc[What should not be here?]).