feat(newsboat): nixify 'newsboat'
check / lint (push) Successful in 1m6s

This commit is contained in:
2026-10-20 20:45:04 +02:00
parent 83d863b856
commit d7508ddad7
4 changed files with 60 additions and 39 deletions
-39
View File
@@ -1,39 +0,0 @@
auto-reload yes
reload-threads 100
# color background color240 black
# color listnormal color238 black
# color listfocus white black
# color listnormal_unread color240 black bold
# color listfocus_unread default black bold
# color info default black
# color article default black
bind-key h quit articlelist
bind-key h quit article
bind-key h quit tagselection
bind-key h quit feedlist
bind-key j down feedlist
bind-key j down tagselection
bind-key j next articlelist
bind-key j down article
bind-key J next-feed articlelist
bind-key k up feedlist
bind-key k prev articlelist
bind-key k up tagselection
bind-key K prev-feed articlelist
bind-key k up article
bind-key l open articlelist
bind-key l open feedlist
bind-key l open tagselection
bind-key G end
bind-key g home
text-width 80
browser "brave"
macro m set browser "mpv %u"; open-in-browser ; set browser "brave"
show-title-bar false
show-keymap-hint false
+1
View File
@@ -46,6 +46,7 @@
k8s.k9s.enable = true; k8s.k9s.enable = true;
keepassxc.enable = true; keepassxc.enable = true;
music.enable = true; music.enable = true;
newsboat.enable = true;
nvim.enable = true; nvim.enable = true;
pandoc.enable = true; pandoc.enable = true;
photography.enable = true; photography.enable = true;
+1
View File
@@ -43,6 +43,7 @@
k8s.k9s.enable = true; k8s.k9s.enable = true;
keepassxc.enable = true; keepassxc.enable = true;
music.enable = true; music.enable = true;
newsboat.enable = true;
my.yubikey.enable = true; my.yubikey.enable = true;
nfc.enable = true; nfc.enable = true;
nvim.enable = true; nvim.enable = true;
+58
View File
@@ -0,0 +1,58 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.newsboat;
in
{
options.newsboat.enable = lib.mkEnableOption "Newsboat";
config = lib.mkIf cfg.enable {
home.packages = [ pkgs.newsboat ];
xdg.configFile."newsboat/config".text = ''
auto-reload yes
reload-threads 100
# color background color240 black
# color listnormal color238 black
# color listfocus white black
# color listnormal_unread color240 black bold
# color listfocus_unread default black bold
# color info default black
# color article default black
bind-key h quit articlelist
bind-key h quit article
bind-key h quit tagselection
bind-key h quit feedlist
bind-key j down feedlist
bind-key j down tagselection
bind-key j next articlelist
bind-key j down article
bind-key J next-feed articlelist
bind-key k up feedlist
bind-key k prev articlelist
bind-key k up tagselection
bind-key K prev-feed articlelist
bind-key k up article
bind-key l open articlelist
bind-key l open feedlist
bind-key l open tagselection
bind-key G end
bind-key g home
text-width 80
browser "brave"
macro m set browser "mpv %u"; open-in-browser ; set browser "brave"
show-title-bar false
show-keymap-hint false
'';
};
}