1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 04:09:47 +01:00
home-manager/tests/modules/programs/borgmatic/default.nix
Liassica f16e7b5824
borgmatic: add option for pattern matching
Borgmatic has support for Borg's pattern matching. It is mutually
exclusive with the existing `sourceDirectories` option, so assertions
have been added to make sure that both are not set at the same
time (but also that at least one of them is). Additionally, tests have
been added to test the following configurations: `patterns` instead of
`sourceDirectories`, both at the same time, and neither.
2024-04-10 21:27:37 +02:00

12 lines
601 B
Nix

{
borgmatic-program-basic-configuration = ./basic-configuration.nix;
borgmatic-program-patterns-configuration = ./patterns-configuration.nix;
borgmatic-program-both-sourcedirectories-and-patterns =
./both-sourcedirectories-and-patterns.nix;
borgmatic-program-neither-sourcedirectories-nor-patterns =
./neither-sourcedirectories-nor-patterns.nix;
borgmatic-program-include-hm-symlinks = ./include-hm-symlinks.nix;
borgmatic-program-exclude-hm-symlinks = ./exclude-hm-symlinks.nix;
borgmatic-program-exclude-hm-symlinks-nothing-else =
./exclude-hm-symlinks-nothing-else.nix;
}