Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 679 Bytes

getting-started.md

File metadata and controls

30 lines (20 loc) · 679 Bytes

Getting started

  1. Install Nix.
  2. Run mkdir my-project && cd my-project
  3. Run nix flake init -t github:numtide/blueprint.

This will give you a barebone project structure with a single flake.nix file containing the following content:

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    blueprint.url = "github:numtide/blueprint";
  };
  
  outputs = inputs: inputs.blueprint { inherit inputs; };
}

From that point you won't have to touch this file (unless you're adding new inputs).

The rest happens in the folder structure.

Adding a host

TODO

Adding a package

TODO