summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-09-19 09:00:54 +0200
committertv <tv@krebsco.de>2017-09-19 09:00:54 +0200
commit388bed48209ad7f5c774ff005afc255c6a71934d (patch)
treefd57fcd54b6a369f7abce0291f4081296f62ba33 /tv/2configs
parent23fcf1c4e92aee18625380eb4cbcab4023098a58 (diff)
tv nixpkgs-overlays: init
This module allows to have per-system nixpkgs-overlays and is required because at the moment of committing, only xu has an up-to-date stockholm development directory in /home/tv/stockholm.
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/default.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 241a16b25..9ad0253a3 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -90,11 +90,7 @@ with import <stockholm/lib>;
environment.variables = {
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
- ''}"
+ "nixpkgs-overlays=${config.tv.nixpkgs-overlays}"
"/var/src"
]);
};