mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: refactored podcast list
This commit is contained in:
parent
bc2d8762c9
commit
189f282d2c
1 changed files with 10 additions and 20 deletions
|
@ -1,26 +1,16 @@
|
||||||
let
|
let
|
||||||
|
podcastHelper = url: title: {
|
||||||
|
url = url;
|
||||||
|
title = title;
|
||||||
|
hide-description = true;
|
||||||
|
hide-categories = true;
|
||||||
|
};
|
||||||
podcastData = [
|
podcastData = [
|
||||||
{
|
(podcastHelper "https://sigmanutrition.libsyn.com/rss/" "Sigma Nutrition Radio")
|
||||||
url = "https://sigmanutrition.libsyn.com/rss/";
|
(podcastHelper "https://wakingup.libsyn.com/rss" "Making Sense with Sam Harris")
|
||||||
title = "Sigma Nutrition Radio";
|
(podcastHelper "https://feeds.simplecast.com/uNKL_XD_" "Docs Who Lift")
|
||||||
}
|
|
||||||
{
|
|
||||||
url = "https://wakingup.libsyn.com/rss";
|
|
||||||
title = "Making Sense with Sam Harris";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
url = "https://feeds.simplecast.com/uNKL_XD_";
|
|
||||||
title = "Docs Who Lift";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
podcastEntries = builtins.map (
|
podcastEntries = builtins.map (podcast: podcast) podcastData;
|
||||||
podcast:
|
|
||||||
podcast
|
|
||||||
// {
|
|
||||||
hide-description = true;
|
|
||||||
hide-categories = true;
|
|
||||||
}
|
|
||||||
) podcastData;
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
type = "rss";
|
type = "rss";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue