mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
41 lines
825 B
Nix
41 lines
825 B
Nix
![]() |
{ config, flake, ... }:
|
||
|
let
|
||
|
widgetsPath = ./widgets;
|
||
|
widgets = {
|
||
|
jellyfin = import (widgetsPath + /jellyfin) { inherit config flake; };
|
||
|
steam = import (widgetsPath + /steam);
|
||
|
podcasts = import (widgetsPath + /podcasts.nix);
|
||
|
calendar = import (widgetsPath + /calendar.nix);
|
||
|
clock = import (widgetsPath + /clock.nix);
|
||
|
weather = import (widgetsPath + /weather.nix);
|
||
|
};
|
||
|
in
|
||
|
[
|
||
|
{
|
||
|
columns = [
|
||
|
{
|
||
|
size = "full";
|
||
|
widgets = [
|
||
|
widgets.podcasts
|
||
|
];
|
||
|
}
|
||
|
{
|
||
|
size = "small";
|
||
|
widgets = [
|
||
|
widgets.jellyfin
|
||
|
widgets.steam
|
||
|
];
|
||
|
}
|
||
|
{
|
||
|
size = "small";
|
||
|
widgets = [
|
||
|
widgets.calendar
|
||
|
widgets.weather
|
||
|
widgets.clock
|
||
|
];
|
||
|
}
|
||
|
];
|
||
|
name = "Dashboard";
|
||
|
}
|
||
|
]
|