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