From 3e72fb782dcd9b9e902f907306d74a138effc66b Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 6 Mar 2020 15:27:48 +0800 Subject: [PATCH] shell.nix: cleanup --- shell.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/shell.nix b/shell.nix index e64b1bb..7aa2910 100644 --- a/shell.nix +++ b/shell.nix @@ -134,11 +134,12 @@ let "${commandPrefix}-${name}-with-secrets" else "${commandPrefix}-${name}-without-secrets"; - populateCommands = with lib; flatten [ - content - (optionals enableSecrets secrets) - (optionals enableSwitch [ switch ]) - ]; + populateCommands = with lib; + flatten [ + content + (optionals enableSecrets secrets) + (optionals enableSwitch [ switch ]) + ]; in jobs commandName "${user}@${host}${target}" populateCommands; serverDeployment = name: