If I understand it correctly, NixOS/nix is home for the following:
- the implementation of the Nix expression language
- the
nix-*
commands - the experimental
nix *
commands (documented only innix --help
?)
but not the nixos-*
command line commands (are these in the NixOS/nixpkgs repo?).
Also, is there a document somewhere on how the NixOS/nix repo is organized? Some guesses:
├── config -> looong shell scripts - for what purpose?
├── contrib -> debug?
├── doc -> Nix manual (https://nixos.org/manual/nix/stable/)
├── m4 -> Autotools-related
├── maintainers -> Collect maintainer info from pkgs?
├── misc -> various shell and system specific scripts
(e.g., systemd, zsh, etc.)
├── mk -> Autotools?
├── nix-rust -> only vastly vague assumptions on this one...
├── perl -> A perl helper library for Nix-stuff?
├── scripts -> Install scripts?
├── src -> Sources for Nix lang, nix-?.* CLI commands
├── tests -> tests:)
├── bootstrap.sh
├── configure.ac
├── COPYING
├── default.nix
├── flake.lock
├── flake.nix
├── local.mk
├── Makefile
├── Makefile.config.in
├── precompiled-headers.h
├── README.md
└── shell.nix