diff options
author | tv <tv@krebsco.de> | 2017-06-19 01:00:36 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-06-19 01:00:36 +0200 |
commit | 3e4e5e5c098341667087eb1255912c40f3371863 (patch) | |
tree | e9fd71751fe126e57b9e2ba33a6fed61eadb6544 /tv/2configs | |
parent | 7de2610029afd1ac0e3cdea0de83c0af8b1ad4ea (diff) |
tv: admit dummy_secrets
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index b1d739ef3..b6c8e4393 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -9,7 +9,10 @@ with import <stockholm/lib>; user = config.krebs.users.tv; source = let inherit (config.krebs.build) host; in { nixos-config.symlink = "stockholm/tv/1systems/${host.name}.nix"; - secrets.file = "/home/tv/secrets/${host.name}"; + secrets.file = + if getEnv "dummy_secrets" == "true" + then toString <stockholm/null> + else "/home/tv/secrets/${host.name}"; secrets-common.file = "/home/tv/secrets/common"; stockholm.file = "/home/tv/stockholm"; nixpkgs.git = { |