updated newsboat config

feat/kile-v2
Ricard Illa 2022-01-28 14:54:58 +01:00
parent 1a6d414243
commit 87b6345e10
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 11 additions and 5 deletions

View File

@ -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"
'';
};
}