2024-08-12 09:55:50 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.ludusavi = {
|
|
|
|
enable = true;
|
2025-01-29 04:48:19 +00:00
|
|
|
extraArgs = [ "--force" "--compression zstd" "--compression-level 15" ];
|
2024-08-12 09:55:50 +00:00
|
|
|
settings = {
|
2025-01-29 04:48:19 +00:00
|
|
|
manifest.url =
|
|
|
|
"https://raw.githubusercontent.com/mtkennerly/ludusavi-manifest/master/data/manifest.yaml";
|
2024-08-12 09:55:50 +00:00
|
|
|
backup.path = "${config.xdg.cacheHome}/ludusavi/backups";
|
|
|
|
restore.path = "${config.xdg.cacheHome}/ludusavi/backups";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
test.stubs.ludusavi = { };
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/systemd/user/ludusavi.service
|
|
|
|
assertFileExists home-files/.config/systemd/user/ludusavi.timer
|
|
|
|
'';
|
|
|
|
}
|