1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-12 12:01:08 +01:00
home-manager/tests/modules/services/borgmatic/darwin/basic-configuration.nix
Austin Horstman 06c1392ca8 tests: implement auto importing for modules
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-22 23:58:37 -05:00

14 lines
273 B
Nix

{
services.borgmatic = {
enable = true;
frequency = "weekly";
};
nmt.script = ''
serviceFile=LaunchAgents/org.nix-community.home.borgmatic.plist
assertFileExists "$serviceFile"
assertFileContent "$serviceFile" ${./expected-agent.plist}
'';
}