[Nix/Legacy] Fix legacy nix-* commands and enable them to use flake-locked nixpkgs + overlays

This commit is contained in:
Antoine Viallon 2023-04-27 12:27:01 +02:00
parent 549aa24793
commit bc950104c6
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
2 changed files with 5 additions and 2 deletions

View file

@ -104,5 +104,10 @@ in
nixpkgs-unstable.flake = nixpkgs-unstable;
};
nix.nixPath = mkBefore [
"nixpkgs=${nixpkgs.outPath}"
"nixos-config=/etc/nixos/configuration.nix"
];
};
}