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
commit a68239097e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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