tv configs: set NIX_PATH

This commit is contained in:
tv 2015-11-08 12:28:53 +01:00
parent 60faa6e3cf
commit 0faad027e7

View File

@ -90,6 +90,15 @@ with lib;
view = "vim -R"; 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 = { programs.bash = {
interactiveShellInit = '' interactiveShellInit = ''
HISTCONTROL='erasedups:ignorespace' HISTCONTROL='erasedups:ignorespace'