diff options
author | tv <tv@krebsco.de> | 2017-12-15 03:36:30 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-12-15 03:36:30 +0100 |
commit | 7f10d9526c3418197e198578eb5c4d8e7eadfc2e (patch) | |
tree | c652cd59b0a249c3273fb7011c3dfb4f04c8bfa9 | |
parent | 51a30f41cff12fcddc7b3f488fa497d19a748570 (diff) |
krebs secrets: use brain
-rw-r--r-- | krebs/source.nix | 9 |
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 = { |