Skip to content

Commit

Permalink
feat: add newsboat configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Jan 20, 2025
1 parent 3e79227 commit 01f133f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions applications/newsboat/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
inputs,
...
}:
let
miniflux-port =
inputs.self.outputs.nixosConfigurations.manyara.config.services.miniflux.config.PORT;
in
{
programs.newsboat = {
enable = true;
autoReload = true;
extraConfig = ''
urls-source "miniflux"
miniflux-url "http://manyara:${miniflux-port}"
miniflux-login "natsukium"
miniflux-passwordeval "rbw get miniflux"
reload-threads 8
bind-key j next
bind-key k prev
'';
};
}
1 change: 1 addition & 0 deletions homes/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ in
../applications/gitui
../applications/lazygit
../applications/misc
../applications/newsboat
../applications/nix
../applications/nushell
../applications/rbw
Expand Down

0 comments on commit 01f133f

Please sign in to comment.