feat(newsboat): setup newsboat

This commit is contained in:
buffet 2022-09-13 16:07:45 +00:00
parent 7c58a19322
commit ea6ce557ca
3 changed files with 24 additions and 1 deletions

View file

@ -44,6 +44,7 @@
"data/uni"
"direnv/.local/share/direnv"
"gpg/.gnupg"
"newsboat/.local/share/newsboat"
"ssh/.ssh"
"trash/.local/share/Trash"
];

View file

@ -7,6 +7,7 @@
./git.nix
./gpg.nix
./mako.nix
./newsboat.nix
./nvim.nix
./pipewire.nix
./sway.nix

View file

@ -1,8 +1,29 @@
_: {
{lib, ...}: {
home-manager.users.buffet = {
programs.newsboat = {
enable = true;
autoReload = true;
extraConfig = ''
color listnormal black white
color listfocus white yellow
color listnormal_unread black white bold
color listfocus_unread white yellow bold
color title white blue bold
color info yellow white bold
color hint-key default white bold
color hint-keys-delimiter default white
color hint-separator default white bold
color hint-description default white
'';
urls = lib.mapAttrsToList (title: url: {inherit title url;}) {
drew = "https://drewdevault.com/blog/index.xml";
emersion = "https://emersion.fr/blog/atom.xml";
matklad = "https://matklad.github.io/feed.xml";
sammyette = "https://sammy.is-a.dev/blog/index.xml";
xkcd = "https://xkcd.com/rss.xml";
};
};
};
}