mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
29 lines
719 B
Nix
29 lines
719 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
services.matcha = {
|
|
enable = true;
|
|
package = pkgs.matcha-rss-digest;
|
|
|
|
settings = {
|
|
markdown_dir_path = "${config.xdg.userDirs.documents}/Matcha";
|
|
feeds = [
|
|
"http://hnrss.org/best"
|
|
"https://waitbutwhy.com/feed"
|
|
"http://tonsky.me/blog/atom.xml"
|
|
"http://www.joelonsoftware.com/rss.xml"
|
|
"https://www.youtube.com/feeds/videos.xml?channel_id=UCHnyfMqiRRG1u-2MsSQLbXA"
|
|
|
|
];
|
|
markdown_file_prefix = "doggo";
|
|
};
|
|
};
|
|
|
|
test.stubs.matcha-rss-digest = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/systemd/user/matcha.timer
|
|
assertFileExists home-files/.config/systemd/user/matcha.service
|
|
'';
|
|
}
|