diff options
author | lassulus <lassulus@lassul.us> | 2018-11-27 21:14:40 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-11-28 12:36:18 +0100 |
commit | f69a078f90d3cddfd5d3146ce39fbd294a14fb57 (patch) | |
tree | ed1360c06ed01b0492aa5ea285a59b83697aee36 /krebs/krops.nix | |
parent | 61f1aba8bc69dc522710d5871545cf4b4ec8645b (diff) |
krops: reformat secrets (style)
Diffstat (limited to 'krebs/krops.nix')
-rw-r--r-- | krebs/krops.nix | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/krebs/krops.nix b/krebs/krops.nix index 425fba8f5..1058e73c0 100644 --- a/krebs/krops.nix +++ b/krebs/krops.nix @@ -45,18 +45,14 @@ krebs-source { nixos-config.symlink = "stockholm/krebs/1systems/${name}/config.nix"; - secrets = - if test - then { - file = toString <stockholm/krebs/0tests/data/secrets>; - } - else { - pass = { - dir = "${lib.getEnv "HOME"}/brain"; - name = "krebs-secrets/${name}"; - }; - } - ; + secrets = if test then { + file = toString <stockholm/krebs/0tests/data/secrets>; + } else { + pass = { + dir = "${lib.getEnv "HOME"}/brain"; + name = "krebs-secrets/${name}"; + }; + }; } ]; |