diff options
author | tv <tv@krebsco.de> | 2017-09-06 00:45:55 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-09-06 00:45:55 +0200 |
commit | 3f11771a7fb1cb1d3b5a36d64a6df964ff3f271d (patch) | |
tree | 8b592f20e9f38d9f512dcd5437e57368641a291d /tv/2configs | |
parent | 1436781119f92cbf431db5e817fba765b24d922a (diff) |
tv: NIX_PATH += nixpkgs-overlays
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/default.nix | 10 |
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" + ]); }; } |