summaryrefslogtreecommitdiffstats
path: root/krebs/source.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-12-15 03:36:30 +0100
committertv <tv@krebsco.de>2017-12-15 03:36:30 +0100
commit7f10d9526c3418197e198578eb5c4d8e7eadfc2e (patch)
treec652cd59b0a249c3273fb7011c3dfb4f04c8bfa9 /krebs/source.nix
parent51a30f41cff12fcddc7b3f488fa497d19a748570 (diff)
krebs secrets: use brain
Diffstat (limited to 'krebs/source.nix')
-rw-r--r--krebs/source.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/krebs/source.nix b/krebs/source.nix
index 73e216900..8fbdce284 100644
--- a/krebs/source.nix
+++ b/krebs/source.nix
@@ -7,9 +7,12 @@ host@{ name, secure ? false }: let
in
evalSource (toString _file) {
nixos-config.symlink = "stockholm/krebs/1systems/${name}/config.nix";
- secrets.file = getAttr builder {
- buildbot = toString <stockholm/krebs/6tests/data/secrets>;
- krebs = "${getEnv "HOME"}/secrets/krebs/${host.name}";
+ secrets = getAttr builder {
+ buildbot.file = toString <stockholm/krebs/6tests/data/secrets>;
+ krebs.pass = {
+ dir = "${getEnv "HOME"}/brain";
+ name = "krebs-secrets/${name}";
+ };
};
stockholm.file = toString <stockholm>;
nixpkgs.git = {