updated newsboat config
parent
1a6d414243
commit
87b6345e10
|
@ -1,7 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
url = "miniflux.monotremata.xyz";
|
||||
url = "nextcloud.monotremata.xyz";
|
||||
dir = "${config.home.homeDirectory}/.newsboat";
|
||||
user = "rilla";
|
||||
rsssync = pkgs.callPackage ./rsssync.nix { inherit config pkgs; };
|
||||
in
|
||||
|
@ -13,10 +14,10 @@ in
|
|||
browser = "firefox"; # todo: should be my open_link script
|
||||
reloadThreads = 100;
|
||||
extraConfig = ''
|
||||
urls-source "miniflux"
|
||||
miniflux-url "https://${url}/"
|
||||
miniflux-login "rilla"
|
||||
miniflux-passwordeval "${pkgs.pass}/bin/pass suricata/${url}/${user}"
|
||||
urls-source "ocnews"
|
||||
ocnews-url "https://${url}/"
|
||||
ocnews-login "${user}"
|
||||
ocnews-passwordeval "${pkgs.pass}/bin/pass narwhal/${url}/${user}"
|
||||
|
||||
# unbind keys
|
||||
unbind-key j
|
||||
|
@ -37,6 +38,11 @@ in
|
|||
color listfocus_unread color2 color4 bold
|
||||
color info color230 color4 bold
|
||||
color article color15 color0
|
||||
|
||||
cache-file ${dir}/cache.db
|
||||
cookie-cache ${dir}/cookies.txt
|
||||
error-log ${dir}/error.log
|
||||
save-path ${config.home.homeDirectory}/Documents/Articles"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue