krops: reformat secrets (style)
This commit is contained in:
parent
61f1aba8bc
commit
f69a078f90
@ -45,18 +45,14 @@
|
|||||||
krebs-source
|
krebs-source
|
||||||
{
|
{
|
||||||
nixos-config.symlink = "stockholm/krebs/1systems/${name}/config.nix";
|
nixos-config.symlink = "stockholm/krebs/1systems/${name}/config.nix";
|
||||||
secrets =
|
secrets = if test then {
|
||||||
if test
|
file = toString <stockholm/krebs/0tests/data/secrets>;
|
||||||
then {
|
} else {
|
||||||
file = toString <stockholm/krebs/0tests/data/secrets>;
|
pass = {
|
||||||
}
|
dir = "${lib.getEnv "HOME"}/brain";
|
||||||
else {
|
name = "krebs-secrets/${name}";
|
||||||
pass = {
|
};
|
||||||
dir = "${lib.getEnv "HOME"}/brain";
|
};
|
||||||
name = "krebs-secrets/${name}";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
;
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user