feat: updated glance

This commit is contained in:
Nick 2025-05-26 14:56:10 -05:00
parent 8d4ce8d2f9
commit a5bfa31ada
19 changed files with 115 additions and 22 deletions

View file

0
modules/nixos/services/glance/config/widgets/clock.nix Normal file → Executable file
View file

View file

View file

@ -0,0 +1,6 @@
{
type = "monitor";
cache = "1m";
title = "Services";
}

View file

@ -1,9 +1,5 @@
{
type = "rss";
title = "Podcasts";
style = "detailed-list";
collapse-after = 6;
feeds = [
let
podcastData = [
{
url = "https://sigmanutrition.libsyn.com/rss/";
title = "Sigma Nutrition Radio";
@ -17,4 +13,19 @@
title = "Docs Who Lift";
}
];
podcastEntries = builtins.map (
podcast:
podcast
// {
hide-description = true;
hide-categories = true;
}
) podcastData;
in
{
type = "rss";
title = "Podcasts";
style = "detailed-list";
collapse-after = 3;
feeds = podcastEntries;
}

View file

@ -0,0 +1,21 @@
let
subList = [
"privacy"
"selfhosted"
"vegan"
];
subredditEntries = builtins.map (sub: {
type = "reddit";
subreddit = sub;
collapse-after = 4;
show-thumbnails = true;
sort-by = "top";
top-period = "day";
}) subList;
in
{
type = "group";
widgets = subredditEntries;
}

View file

View file

View file

@ -0,0 +1,14 @@
{
type = "videos";
style = "vertical-list";
collapse-after = 6;
channels = [
"UCfQgsKhHjSyRLOp9mnffqVg"
"UCld68syR8Wi-GY_n4CaoJGA"
"UChIs72whgZI9w6d6FhwGGHA"
"UCes5DW7sk9WU8oqE9HGJdpg"
"UCOksmJqNzaYLhplfs7Sl8cA"
"UCQNmHyGAKqzOT_JsVEs4eag"
"UCd8rTrNRM6DYR4TXgSqNw8g"
];
}

View file