mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: updated glance
This commit is contained in:
parent
8d4ce8d2f9
commit
a5bfa31ada
19 changed files with 115 additions and 22 deletions
0
modules/nixos/services/glance/config/widgets/calendar.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/calendar.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/clock.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/clock.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/jellyfin/config/default.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/jellyfin/config/default.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/jellyfin/default.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/jellyfin/default.nix
Normal file → Executable file
6
modules/nixos/services/glance/config/widgets/monitor.nix
Normal file
6
modules/nixos/services/glance/config/widgets/monitor.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
type = "monitor";
|
||||
cache = "1m";
|
||||
title = "Services";
|
||||
|
||||
}
|
23
modules/nixos/services/glance/config/widgets/podcasts.nix
Normal file → Executable file
23
modules/nixos/services/glance/config/widgets/podcasts.nix
Normal file → Executable 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;
|
||||
}
|
||||
|
|
21
modules/nixos/services/glance/config/widgets/reddit.nix
Normal file
21
modules/nixos/services/glance/config/widgets/reddit.nix
Normal 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;
|
||||
}
|
0
modules/nixos/services/glance/config/widgets/steam/config/default.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/steam/config/default.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/steam/default.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/steam/default.nix
Normal file → Executable file
14
modules/nixos/services/glance/config/widgets/videos.nix
Normal file
14
modules/nixos/services/glance/config/widgets/videos.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
type = "videos";
|
||||
style = "vertical-list";
|
||||
collapse-after = 6;
|
||||
channels = [
|
||||
"UCfQgsKhHjSyRLOp9mnffqVg"
|
||||
"UCld68syR8Wi-GY_n4CaoJGA"
|
||||
"UChIs72whgZI9w6d6FhwGGHA"
|
||||
"UCes5DW7sk9WU8oqE9HGJdpg"
|
||||
"UCOksmJqNzaYLhplfs7Sl8cA"
|
||||
"UCQNmHyGAKqzOT_JsVEs4eag"
|
||||
"UCd8rTrNRM6DYR4TXgSqNw8g"
|
||||
];
|
||||
}
|
0
modules/nixos/services/glance/config/widgets/weather.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/weather.nix
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue