krops: reformat secrets (style)

This commit is contained in:
lassulus 2018-11-27 21:14:40 +01:00
parent 61f1aba8bc
commit f69a078f90

View File

@ -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}";
};
};
}
];