mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
25 lines
628 B
Nix
25 lines
628 B
Nix
|
{ config, ... }:
|
||
|
|
||
|
{
|
||
|
services.ludusavi = {
|
||
|
enable = true;
|
||
|
extraArgs = [
|
||
|
"--force"
|
||
|
"--compression zstd"
|
||
|
"--compression-level 15"
|
||
|
];
|
||
|
settings = {
|
||
|
manifest.url = "https://raw.githubusercontent.com/mtkennerly/ludusavi-manifest/master/data/manifest.yaml";
|
||
|
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
|
||
|
'';
|
||
|
}
|