concat proper thing

This commit is contained in:
chaos 2024-07-20 12:49:09 +01:00
parent 9ff90d6251
commit 657b52b580
No known key found for this signature in database

View file

@ -15,13 +15,13 @@
in { in {
environment.systemPackages = [ environment.systemPackages = [
# TODO: add ones in container too # TODO: add ones in container too
(concatStringsSep "\n" (pkgs.writeShellScriptBin "restic-all" '' (pkgs.writeShellScriptBin "restic-all" ''
${(forEach [ ${concatStringsSep "\n" (forEach [
"social" "social"
] ( ] (
name: "restic-${name} $@" name: "restic-${name} $@"
))} ))}
'')) '')
]; ];
services.restic.backups = { services.restic.backups = {