From 87b6345e10d644c5d3b0d133b2c0bdd6f6a80e3b Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Fri, 28 Jan 2022 14:54:58 +0100 Subject: [PATCH] updated newsboat config --- home/rss/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/home/rss/default.nix b/home/rss/default.nix index 6074d45..543a216 100644 --- a/home/rss/default.nix +++ b/home/rss/default.nix @@ -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" ''; }; }