mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
24 lines
512 B
Nix
24 lines
512 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
services.archivebox = {
|
|
enable = true;
|
|
archivePath = "${config.xdg.userDirs.documents}/ArchiveBox";
|
|
|
|
jobs.art = {
|
|
links = [
|
|
"https://www.davidrevoy.com/"
|
|
"https://www.youtube.com/c/ronillust"
|
|
];
|
|
startAt = "weekly";
|
|
};
|
|
};
|
|
|
|
test.stubs.archivebox = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/systemd/user/archivebox-job-art.service
|
|
assertFileExists home-files/.config/systemd/user/archivebox-job-art.timer
|
|
'';
|
|
}
|