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 {
environment.systemPackages = [
# TODO: add ones in container too
(concatStringsSep "\n" (pkgs.writeShellScriptBin "restic-all" ''
${(forEach [
(pkgs.writeShellScriptBin "restic-all" ''
${concatStringsSep "\n" (forEach [
"social"
] (
name: "restic-${name} $@"
))}
''))
'')
];
services.restic.backups = {