summaryrefslogtreecommitdiffstats
path: root/tv/2configs/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-02 19:17:19 +0100
committertv <tv@krebsco.de>2016-02-02 19:17:46 +0100
commit03e5d03c129190451e1431fac6aae70f745812f9 (patch)
treee4f8c900357344d71888e12da42ae81392ec97b8 /tv/2configs/default.nix
parent7dbfc126fb329a67d68b32803e866ba9f0e7b2f0 (diff)
tv config: use null for dummy secrets
Diffstat (limited to 'tv/2configs/default.nix')
-rw-r--r--tv/2configs/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index abe9d3de8..777cd4ea3 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -12,6 +12,7 @@ with lib;
source = mapAttrs (_: mkDefault) ({
nixos-config = "symlink:stockholm-private/1systems/${config.krebs.build.host.name}.nix";
nixpkgs = symlink:stockholm-nixpkgs;
+ null = "/home/tv/stockholm/null";
secrets = "/home/tv/secrets/${config.krebs.build.host.name}";
secrets-common = "/home/tv/secrets/common";
stockholm-krebs = "/home/tv/stockholm/krebs";
@@ -101,7 +102,7 @@ with lib;
};
environment.variables = {
- NIX_PATH = mkForce "/var/src";
+ NIX_PATH = mkForce "secrets=/var/src/null:/var/src";
};
programs.bash = {