summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-09-06 00:45:55 +0200
committertv <tv@krebsco.de>2017-09-06 00:45:55 +0200
commit3f11771a7fb1cb1d3b5a36d64a6df964ff3f271d (patch)
tree8b592f20e9f38d9f512dcd5437e57368641a291d
parent1436781119f92cbf431db5e817fba765b24d922a (diff)
tv: NIX_PATH += nixpkgs-overlays
-rw-r--r--tv/2configs/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 730b055a2..241a16b25 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -88,7 +88,15 @@ with import <stockholm/lib>;
};
environment.variables = {
- NIX_PATH = mkForce "secrets=/var/src/stockholm/null:/var/src";
+ NIX_PATH = mkForce (concatStringsSep ":" [
+ "secrets=/var/src/stockholm/null"
+ "nixpkgs-overlays=${pkgs.runCommand "nixpkgs-overlays" {} ''
+ mkdir $out
+ ln -s /home/tv/stockholm/krebs/5pkgs $out/krebs
+ ln -s /home/tv/stockholm/tv/5pkgs $out/tv
+ ''}"
+ "/var/src"
+ ]);
};
}