concat proper thing
This commit is contained in:
parent
9ff90d6251
commit
657b52b580
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue