tv config: use null for dummy secrets

This commit is contained in:
tv 2016-02-02 19:17:19 +01:00
parent 7dbfc126fb
commit 03e5d03c12

View File

@ -12,6 +12,7 @@ with lib;
source = mapAttrs (_: mkDefault) ({ source = mapAttrs (_: mkDefault) ({
nixos-config = "symlink:stockholm-private/1systems/${config.krebs.build.host.name}.nix"; nixos-config = "symlink:stockholm-private/1systems/${config.krebs.build.host.name}.nix";
nixpkgs = symlink:stockholm-nixpkgs; nixpkgs = symlink:stockholm-nixpkgs;
null = "/home/tv/stockholm/null";
secrets = "/home/tv/secrets/${config.krebs.build.host.name}"; secrets = "/home/tv/secrets/${config.krebs.build.host.name}";
secrets-common = "/home/tv/secrets/common"; secrets-common = "/home/tv/secrets/common";
stockholm-krebs = "/home/tv/stockholm/krebs"; stockholm-krebs = "/home/tv/stockholm/krebs";
@ -101,7 +102,7 @@ with lib;
}; };
environment.variables = { environment.variables = {
NIX_PATH = mkForce "/var/src"; NIX_PATH = mkForce "secrets=/var/src/null:/var/src";
}; };
programs.bash = { programs.bash = {