tv configs: set NIX_PATH

This commit is contained in:
tv 2015-11-08 12:28:53 +01:00
parent 60faa6e3cf
commit 0faad027e7
1 changed files with 9 additions and 0 deletions

View File

@ -90,6 +90,15 @@ with lib;
view = "vim -R";
};
environment.variables = {
NIX_PATH =
with config.krebs.build.source; with dir; with git;
mkForce (concatStringsSep ":" [
"nixpkgs=${nixpkgs.target-path}"
"secrets=${stockholm.target-path}/null"
]);
};
programs.bash = {
interactiveShellInit = ''
HISTCONTROL='erasedups:ignorespace'