summaryrefslogtreecommitdiffstats
path: root/krebs/krops.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-11-27 21:14:40 +0100
committerlassulus <lassulus@lassul.us>2018-11-28 12:36:18 +0100
commitf69a078f90d3cddfd5d3146ce39fbd294a14fb57 (patch)
treeed1360c06ed01b0492aa5ea285a59b83697aee36 /krebs/krops.nix
parent61f1aba8bc69dc522710d5871545cf4b4ec8645b (diff)
krops: reformat secrets (style)
Diffstat (limited to 'krebs/krops.nix')
-rw-r--r--krebs/krops.nix20
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}";
+ };
+ };
}
];