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
commit7d152d79146de47f37cd2dfc97ab390de38943d9 (patch)
treeaf9f7a985d164c050614ed2e0b2130c45bd8c4e6
parent43903dbc74911434b7de0c76fc49aff93c354945 (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 730b055..241a16b 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"
+ ]);
};
}