[NixOS] Half fix for evaluation of <nixpath> in nix commands

See https://github.com/NixOS/nix/issues/8890
This commit is contained in:
Ivan Malison 2023-09-02 20:10:07 -06:00
parent 0017e46f90
commit 2f02f72e28

View File

@ -19,7 +19,7 @@
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
nix = { nix = rec {
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
@ -32,6 +32,7 @@
nixPath = [ nixPath = [
"nixpkgs=${inputs.nixpkgs.outPath}" "nixpkgs=${inputs.nixpkgs.outPath}"
]; ];
settings.nix-path = nixPath;
}; };
nixpkgs.overlays = [ nixpkgs.overlays = [