mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-03 03:59:23 +00:00
eilmeldung is a fast TUI RSS reader built on the news-flash library. It provides Vim-inspired keybindings, a non-blocking interface and instant startup, while keeping the interface uncluttered. Articles can be searched and filtered using a powerful query language, tagged for later reference, and read in a distraction-free "zen mode".
48 lines
956 B
Nix
48 lines
956 B
Nix
{
|
|
programs.eilmeldung = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
mouse_support = true;
|
|
|
|
feed_list = [
|
|
"query: \"Marked\" marked"
|
|
"query: \"Reviews\" #reviews"
|
|
"feeds"
|
|
"* categories"
|
|
"tags"
|
|
];
|
|
|
|
startup_commands = [ "sync" ];
|
|
|
|
after_sync_commands = [
|
|
"query lastsync"
|
|
"tag rust title:\"rust\""
|
|
"read title:/^Advertisement/"
|
|
"refresh"
|
|
];
|
|
|
|
video_enclosure_command = "mpv {url}";
|
|
audio_enclosure_command = "vlc {url}";
|
|
|
|
share_targets = [
|
|
"clipboard"
|
|
"feh feh \"{url}\""
|
|
];
|
|
|
|
input_config.mappings = {
|
|
"; i" = [ "cmd hintshare feh" ];
|
|
"y" = [
|
|
"confirm in articles read all"
|
|
"nextunread"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
local configFile="home-files/.config/eilmeldung/config.toml"
|
|
assertFileContent "$configFile" ${./expected-config.toml}
|
|
'';
|
|
}
|