Nix Flakes: Exposing and using NixOS Modules
Nix flakes allow you to expose NixOS modules. NixOS modules are templates for system configuration and they are the basis of how you configure NixOS. Today we're going to take our Nix flake from the last article and write a NixOS module for it so that we can deploy it to a container running locally. In the next post we will deploy this to a server.
Source: Nix Flakes: Exposing and using NixOS Modules, an article by Christine Dodrill.