shell.nix: cleanup

feature/hass
Ingolf Wagner 2020-03-06 15:27:48 +08:00
parent 79524242dc
commit 3e72fb782d
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
1 changed files with 6 additions and 5 deletions

View File

@ -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: