summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-11-08 12:28:53 +0100
committertv <tv@krebsco.de>2015-11-08 12:28:53 +0100
commit0faad027e7e241edbe842cf6a54aad606d00adf7 (patch)
treee7bdfd2ef02b2c5c797b8c2627f9f7fce0e2640c /tv
parent60faa6e3cf3b592a4aad71b246fbe2abdd699b9c (diff)
tv configs: set NIX_PATH
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 688f8f9cf..6ed1c65f9 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -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'