[NixOS] Set nixpath with nix variable instead of shellInit

This commit is contained in:
Ivan Malison 2023-08-19 23:37:18 -06:00
parent 6100e6d5a8
commit 7337631c4f
2 changed files with 4 additions and 1 deletions

View File

@ -72,7 +72,6 @@ with lib;
export STARSHIP_INSIDE_EMACS="yes"
'';
extraInit = ''
export NIX_PATH="nixpkgs=${inputs.nixpkgs.outPath}:$NIX_PATH";
export PATH="$HOME/.cargo/bin:${libDir}/bin:${libDir}/functions:$PATH";
'';
};

View File

@ -21,6 +21,10 @@
keep-derivations = true;
};
channel.enable = false;
nixPath = [
"nixpkgs=${inputs.nixpkgs.outPath}"
"configuration"
];
};
nixpkgs.overlays = with inputs; [