nixpkgs/nixos/doc/manual
Jade Lovelace e456032add nixos/flake: put nixpkgs in NIX_PATH and system registry for flake configs
Currently there are a bunch of really wacky hacks required to get nixpkgs
path correctly set up under flake configs such that `nix run
nixpkgs#hello` and `nix run -f '<nixpkgs>' hello` hit the nixpkgs that
the system was built with. In particular you have to use specialArgs or
an anonymous module, and everyone has to include this hack in their
own configs.

We can do this for users automatically.

I have tested these manually with a basic config; I don't know if it is
even possible to write a nixos test for it since you can't really get a
string-with-context to yourself unless you are in a flake context.
2024-02-03 20:44:38 -08:00
..
administration nixos/doc/manual: Rework nixos-state.section.md 2023-12-12 23:06:10 +00:00
configuration Merge pull request #259773 from dadada/dadada/luks-fido2-systemd 2023-12-03 07:19:00 +01:00
development lib.types.boolByOr: init 2023-12-08 21:50:29 +01:00
installation nixos-rebuild: Add nixos-rebuild repl 2023-12-10 06:36:02 +01:00
release-notes nixos/flake: put nixpkgs in NIX_PATH and system registry for flake configs 2024-02-03 20:44:38 -08:00
common.nix nixos manual: extract some build paths 2023-07-25 17:03:12 +07:00
contributing-to-this-manual.chapter.md Merge pull request #248701 from doronbehar/nixos/manpages 2023-08-16 15:49:49 +00:00
default.nix nixos/doc: small rephrase in documentation of documentation 2023-08-16 06:24:37 +00:00
manual.md nixos/manual: render html with nixos-render-doc if !allowDocBook 2023-02-21 18:26:41 +01:00
nixos-options.md nixos-render-docs: add structural includes, use for manual 2023-02-12 13:02:42 +01:00
preface.md manual: fix matrix room link (#231523) 2023-05-12 18:55:19 -04:00
README.md
shell.nix nixpkgs/NixOS manuals: devmode feature 2023-07-25 17:03:15 +07:00