2025-05-25 18:28:37 -05:00
|
|
|
{ config, flake, ... }:
|
|
|
|
let
|
|
|
|
widgetsPath = ./widgets;
|
|
|
|
widgets = {
|
2025-06-09 00:13:34 -05:00
|
|
|
jellyfin = import (widgetsPath + /jelly) { inherit config flake; };
|
2025-05-25 18:28:37 -05:00
|
|
|
steam = import (widgetsPath + /steam);
|
|
|
|
podcasts = import (widgetsPath + /podcasts.nix);
|
|
|
|
calendar = import (widgetsPath + /calendar.nix);
|
|
|
|
clock = import (widgetsPath + /clock.nix);
|
|
|
|
weather = import (widgetsPath + /weather.nix);
|
2025-05-26 14:56:10 -05:00
|
|
|
reddit = import (widgetsPath + /reddit.nix);
|
|
|
|
videos = import (widgetsPath + /videos.nix);
|
2025-05-29 21:44:37 -05:00
|
|
|
repos = import (widgetsPath + /repos.nix);
|
2025-05-25 18:28:37 -05:00
|
|
|
};
|
|
|
|
in
|
|
|
|
[
|
|
|
|
{
|
|
|
|
columns = [
|
|
|
|
{
|
|
|
|
size = "full";
|
|
|
|
widgets = [
|
2025-05-26 14:56:10 -05:00
|
|
|
{
|
|
|
|
type = "group";
|
|
|
|
widgets = [
|
|
|
|
widgets.podcasts
|
|
|
|
widgets.videos
|
|
|
|
];
|
|
|
|
}
|
|
|
|
widgets.reddit
|
2025-05-25 18:28:37 -05:00
|
|
|
];
|
|
|
|
}
|
|
|
|
{
|
|
|
|
size = "small";
|
|
|
|
widgets = [
|
|
|
|
widgets.steam
|
2025-05-29 21:44:37 -05:00
|
|
|
widgets.repos
|
2025-05-25 18:28:37 -05:00
|
|
|
];
|
|
|
|
}
|
|
|
|
{
|
|
|
|
size = "small";
|
|
|
|
widgets = [
|
|
|
|
widgets.calendar
|
|
|
|
widgets.weather
|
|
|
|
widgets.clock
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
name = "Dashboard";
|
|
|
|
}
|
|
|
|
]
|