summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tv/2configs/default.nix5
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 = {