mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +00:00
Like the previous replacement module, we cannot test it properly since it relies on `modulesPath` specialArg which home-manager initialize and nmt doesn't.
17 lines
346 B
Nix
17 lines
346 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
services.borgmatic.jobs.personal = {
|
|
settings = {
|
|
hello = "WORLD";
|
|
};
|
|
};
|
|
|
|
test.stubs.borgmatic = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/systemd/user/borgmatic-job-personal.service
|
|
assertFileExists home-files/.config/systemd/user/borgmatic-job-personal.timer
|
|
'';
|
|
}
|