shell.nix: cleanup
This commit is contained in:
parent
79524242dc
commit
3e72fb782d
1 changed files with 6 additions and 5 deletions
11
shell.nix
11
shell.nix
|
@ -134,11 +134,12 @@ let
|
||||||
"${commandPrefix}-${name}-with-secrets"
|
"${commandPrefix}-${name}-with-secrets"
|
||||||
else
|
else
|
||||||
"${commandPrefix}-${name}-without-secrets";
|
"${commandPrefix}-${name}-without-secrets";
|
||||||
populateCommands = with lib; flatten [
|
populateCommands = with lib;
|
||||||
content
|
flatten [
|
||||||
(optionals enableSecrets secrets)
|
content
|
||||||
(optionals enableSwitch [ switch ])
|
(optionals enableSecrets secrets)
|
||||||
];
|
(optionals enableSwitch [ switch ])
|
||||||
|
];
|
||||||
in jobs commandName "${user}@${host}${target}" populateCommands;
|
in jobs commandName "${user}@${host}${target}" populateCommands;
|
||||||
|
|
||||||
serverDeployment = name:
|
serverDeployment = name:
|
||||||
|
|
Loading…
Reference in a new issue