diff options
Diffstat (limited to 'nin/2configs')
-rw-r--r-- | nin/2configs/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nin/2configs/default.nix b/nin/2configs/default.nix index 0ff0f8ae8..ed205a791 100644 --- a/nin/2configs/default.nix +++ b/nin/2configs/default.nix @@ -58,7 +58,10 @@ with import <stockholm/lib>; user = config.krebs.users.nin; source = let inherit (config.krebs.build) host; in { nixos-config.symlink = "stockholm/nin/1systems/${host.name}.nix"; - secrets.file = "/home/nin/secrets/${host.name}"; + secrets.file = + if getEnv "dummy_secrets" == "true" + then toString <stockholm/nin/6tests/dummysecrets> + else "/home/nin/secrets/${host.name}"; stockholm.file = getEnv "PWD"; }; }; |