From 3f4381b38e2b06b381ecba93852dc65b5aedfd99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 12 Nov 2024 08:08:39 +0100 Subject: [PATCH] add newsboat --- programs/desktop/pim/default.nix | 1 + programs/desktop/pim/rss.nix | 58 ++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 programs/desktop/pim/rss.nix diff --git a/programs/desktop/pim/default.nix b/programs/desktop/pim/default.nix index 2f43ef6c..4fd29b96 100644 --- a/programs/desktop/pim/default.nix +++ b/programs/desktop/pim/default.nix @@ -4,5 +4,6 @@ ./calendar.nix ./contacts.nix ./email.nix + ./rss.nix ]; } diff --git a/programs/desktop/pim/rss.nix b/programs/desktop/pim/rss.nix new file mode 100644 index 00000000..952354d4 --- /dev/null +++ b/programs/desktop/pim/rss.nix @@ -0,0 +1,58 @@ +{ ... }: +{ + programs.newsboat = { + enable = true; + autoReload = true; + urls = + [ + { + tags = [ "blog" ]; + url = "https://www.5snb.club/rss.xml"; + } + { + tags = [ "blog" ]; + url = "https://soatok.blog/feed/"; + } + { + tags = [ "blog" ]; + url = "https://cendyne.dev/feed.xml"; + } + { + tags = [ "blog" ]; + url = "https://xeiaso.net/blog.rss"; + } + { + tags = [ "comic" ]; + url = "https://xkcd.com/atom.xml"; + } + ] + ++ (map + (url: { + tags = [ "youtube" ]; + inherit url; + }) + [ + "https://www.youtube.com/feeds/videos.xml?channel_id=UCqDbZac1bo_WEPau9c5R5WQ" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCuCkxoKLYO_EQ2GeFtbM_bw" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCwxrHMcTY7DCJSYCSftJOTA" + "https://www.youtube.com/feeds/videos.xml?channel_id=UC1dRqPWIjPwcONdV2L1-mrw" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCCWeRTgd79JL0ilH0ZywSJA" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCXnNibvR_YIdyPs8PZIBoEw" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCRHXUZ0BxbkU2MYZgsuFgkQ" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCdnteqJUEFetgKgWItToLHg" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCE5dIscvDxrb7CD5uiJJOiw" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCbtwi4wK1YXd9AyV_4UcE6g" + "https://www.youtube.com/feeds/videos.xml?channel_id=UC9pVBqtx2-XrSfKn3BwHrXA" + "https://www.youtube.com/feeds/videos.xml?channel_id=UChIs72whgZI9w6d6FhwGGHA" + "https://www.youtube.com/feeds/videos.xml?channel_id=UC1D3yD4wlPMico0dss264XA" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCFhXFikryT4aFcLkLw2LBLA" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCYO_jab_esuFRV4b17AJtAw" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCy0tKL1T7wFoYcxCe0xjN6Q" + "https://www.youtube.com/feeds/videos.xml?channel_id=UClRwC5Vc8HrB6vGx6Ti-lhA" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCWoSKWs8h6lFdiEDAjuIfpA" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCwRqWnW5ZkVaP_lZF7caZ-g" + "https://www.youtube.com/feeds/videos.xml?channel_id=UCk9RA3G-aVQXvp7-Q4Ac9kQ" + ] + ); + }; +}