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
contributing-to-this-manual.chapter.md
default.nix
manual.md
nixos-options.md
preface.md
README.md
shell.nix