Merge pull request #189113 from MatthewCroughan/mc/pin-installer-registry

pin nixpkgs registry to pkgs.path via nix.settings.registry
This commit is contained in:
Christian Kögler
2022-10-01 12:49:28 +02:00
committed by GitHub
@@ -31,6 +31,7 @@ let
in
{
nix.registry.nixpkgs.flake.outPath = builtins.path { name = "source"; path = pkgs.path; };
# Provide the NixOS/Nixpkgs sources in /etc/nixos. This is required
# for nixos-install.
boot.postBootCommands = mkAfter