[NixOS] Half fix for evaluation of <nixpath> in nix commands
See https://github.com/NixOS/nix/issues/8890
This commit is contained in:
parent
0017e46f90
commit
2f02f72e28
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user