Getting Started
First, install Nix:
bash <(curl -L https://nixos.org/nix/install)
Then enable flakes and the nix
command (see here for other
ways):
~/.config/nix/nix.conf
experimental-features = nix-command flakes
Finally, you can initialize a flake from the default template:
nix flake init -t github:loqusion/typix
Here are some commands you can run from the default template:
nix run .#watch
— watch the input files and recompile on changesnix run .#build
— compile and copy the output to the current directory
For more info, see nix run --help
.