updated newsboat config
parent
1a6d414243
commit
87b6345e10
|
@ -1,7 +1,8 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
url = "miniflux.monotremata.xyz";
|
url = "nextcloud.monotremata.xyz";
|
||||||
|
dir = "${config.home.homeDirectory}/.newsboat";
|
||||||
user = "rilla";
|
user = "rilla";
|
||||||
rsssync = pkgs.callPackage ./rsssync.nix { inherit config pkgs; };
|
rsssync = pkgs.callPackage ./rsssync.nix { inherit config pkgs; };
|
||||||
in
|
in
|
||||||
|
@ -13,10 +14,10 @@ in
|
||||||
browser = "firefox"; # todo: should be my open_link script
|
browser = "firefox"; # todo: should be my open_link script
|
||||||
reloadThreads = 100;
|
reloadThreads = 100;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
urls-source "miniflux"
|
urls-source "ocnews"
|
||||||
miniflux-url "https://${url}/"
|
ocnews-url "https://${url}/"
|
||||||
miniflux-login "rilla"
|
ocnews-login "${user}"
|
||||||
miniflux-passwordeval "${pkgs.pass}/bin/pass suricata/${url}/${user}"
|
ocnews-passwordeval "${pkgs.pass}/bin/pass narwhal/${url}/${user}"
|
||||||
|
|
||||||
# unbind keys
|
# unbind keys
|
||||||
unbind-key j
|
unbind-key j
|
||||||
|
@ -37,6 +38,11 @@ in
|
||||||
color listfocus_unread color2 color4 bold
|
color listfocus_unread color2 color4 bold
|
||||||
color info color230 color4 bold
|
color info color230 color4 bold
|
||||||
color article color15 color0
|
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