diff --git a/impermanence.nix b/impermanence.nix index a936984..858942e 100644 --- a/impermanence.nix +++ b/impermanence.nix @@ -44,6 +44,7 @@ "data/uni" "direnv/.local/share/direnv" "gpg/.gnupg" + "newsboat/.local/share/newsboat" "ssh/.ssh" "trash/.local/share/Trash" ]; diff --git a/programs/default.nix b/programs/default.nix index 0a9ec67..6cd0231 100644 --- a/programs/default.nix +++ b/programs/default.nix @@ -7,6 +7,7 @@ ./git.nix ./gpg.nix ./mako.nix + ./newsboat.nix ./nvim.nix ./pipewire.nix ./sway.nix diff --git a/programs/newsboat.nix b/programs/newsboat.nix index 9fa791f..683f4fb 100644 --- a/programs/newsboat.nix +++ b/programs/newsboat.nix @@ -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"; + }; }; }; }