diff options
author | lassulus <lassulus@lassul.us> | 2017-09-06 11:10:29 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-09-06 11:10:29 +0200 |
commit | 8e2aba195eb5b84fe2af1de0e7aca6f83a3dcc12 (patch) | |
tree | 43bd370d7092e6da50d60a8ff40710aea58eeea7 /tv/2configs/default.nix | |
parent | 428a5f037ef8a5d6b0ef5bc0ea74dcd458fd5b16 (diff) | |
parent | 3f11771a7fb1cb1d3b5a36d64a6df964ff3f271d (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/default.nix')
-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" + ]); }; } |