dotfiles/modules/nixos/services/glance/config/widgets/podcasts.nix

22 lines
585 B
Nix
Raw Normal View History

2025-05-26 14:56:10 -05:00
let
2025-06-08 01:28:02 -05:00
podcastHelper = url: title: {
url = url;
title = title;
hide-description = true;
hide-categories = true;
};
2025-05-26 14:56:10 -05:00
podcastData = [
2025-06-08 01:28:02 -05:00
(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")
2025-05-25 18:28:37 -05:00
];
2025-06-08 01:28:02 -05:00
podcastEntries = builtins.map (podcast: podcast) podcastData;
2025-05-26 14:56:10 -05:00
in
{
type = "rss";
title = "Podcasts";
style = "detailed-list";
collapse-after = 3;
feeds = podcastEntries;
2025-05-25 18:28:37 -05:00
}