Nix - a tool for reproducible and declarative configuration management
Table of Contents
1. Nix, NixOS, Nixpkgs, etc
1.1. Nix Flakes
- When in a git repository, don't forget to
git add flake.nix. Otherwise nix commands won't consider theflake.nixat all.
1.1.1. Enable flakes
Per user:
mkdir -p ~/.config/nix/ echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
System-wide:
{ pkgs, ... }: {
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}
2. Related notes
3. Backlinks
- Guix (guix.org)