Skip to content

Instantly share code, notes, and snippets.

@adrianparvino
Created March 26, 2019 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianparvino/bce3dc18c1de170b6f4d8e354f309dc3 to your computer and use it in GitHub Desktop.
Save adrianparvino/bce3dc18c1de170b6f4d8e354f309dc3 to your computer and use it in GitHub Desktop.
listToAttrs (builtins.concatMap (name:
[(nameValuePair "duplicity-${name}" gcfg.archives.${name}.backupService)
(nameValuePair "duplicity-${name}-cleanup" gcfg.archives.${name}.backupService)
]
) (builtins.attrNames gcfg.archives));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment