forked from colonelpanic/dotfiles
[NixOS] Set nixpath with nix variable instead of shellInit
This commit is contained in:
parent
6100e6d5a8
commit
7337631c4f
@ -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";
|
||||
'';
|
||||
};
|
||||
|
@ -21,6 +21,10 @@
|
||||
keep-derivations = true;
|
||||
};
|
||||
channel.enable = false;
|
||||
nixPath = [
|
||||
"nixpkgs=${inputs.nixpkgs.outPath}"
|
||||
"configuration"
|
||||
];
|
||||
};
|
||||
|
||||
nixpkgs.overlays = with inputs; [
|
||||
|
Loading…
Reference in New Issue
Block a user