mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-15 11:00:53 -06:00
test: setting up nas structure
This commit is contained in:
parent
8cd193ec49
commit
4225970826
747 changed files with 2938 additions and 4347 deletions
21
modules/nixos/homelab/orphans/glance/config/widgets/reddit.nix
Executable file
21
modules/nixos/homelab/orphans/glance/config/widgets/reddit.nix
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
let
|
||||
subList = [
|
||||
"privacy"
|
||||
"selfhosted"
|
||||
"vegan"
|
||||
];
|
||||
|
||||
subredditEntries = builtins.map (sub: {
|
||||
type = "reddit";
|
||||
subreddit = sub;
|
||||
collapse-after = 5;
|
||||
show-thumbnails = true;
|
||||
sort-by = "top";
|
||||
top-period = "day";
|
||||
}) subList;
|
||||
|
||||
in
|
||||
{
|
||||
type = "group";
|
||||
widgets = subredditEntries;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue