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
|
||||
podcastHelper = url: title: {
|
||||
url = url;
|
||||
title = title;
|
||||
hide-description = true;
|
||||
hide-categories = true;
|
||||
};
|
||||
podcastData = [
|
||||
{
|
||||
url = "https://sigmanutrition.libsyn.com/rss/";
|
||||
title = "Sigma Nutrition Radio";
|
||||
}
|
||||
{
|
||||
url = "https://wakingup.libsyn.com/rss";
|
||||
title = "Making Sense with Sam Harris";
|
||||
}
|
||||
{
|
||||
url = "https://feeds.simplecast.com/uNKL_XD_";
|
||||
title = "Docs Who Lift";
|
||||
}
|
||||
(podcastHelper "https://sigmanutrition.libsyn.com/rss/" "Sigma Nutrition Radio")
|
||||
(podcastHelper "https://wakingup.libsyn.com/rss" "Making Sense with Sam Harris")
|
||||
(podcastHelper "https://feeds.simplecast.com/uNKL_XD_" "Docs Who Lift")
|
||||
];
|
||||
podcastEntries = builtins.map (
|
||||
podcast:
|
||||
podcast
|
||||
// {
|
||||
hide-description = true;
|
||||
hide-categories = true;
|
||||
}
|
||||
) podcastData;
|
||||
podcastEntries = builtins.map (podcast: podcast) podcastData;
|
||||
in
|
||||
{
|
||||
type = "rss";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue