mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 13:59:24 -06:00
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
|
|
{ config, flake, ... }:
|
||
|
|
let
|
||
|
|
widgetsPath = ./widgets;
|
||
|
|
widgets = {
|
||
|
|
jellyfin = import (widgetsPath + /jelly) { 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);
|
||
|
|
reddit = import (widgetsPath + /reddit.nix);
|
||
|
|
videos = import (widgetsPath + /videos.nix);
|
||
|
|
repos = import (widgetsPath + /repos.nix);
|
||
|
|
};
|
||
|
|
in
|
||
|
|
[
|
||
|
|
{
|
||
|
|
columns = [
|
||
|
|
{
|
||
|
|
size = "full";
|
||
|
|
widgets = [
|
||
|
|
{
|
||
|
|
type = "group";
|
||
|
|
widgets = [
|
||
|
|
widgets.podcasts
|
||
|
|
widgets.videos
|
||
|
|
];
|
||
|
|
}
|
||
|
|
widgets.reddit
|
||
|
|
];
|
||
|
|
}
|
||
|
|
{
|
||
|
|
size = "small";
|
||
|
|
widgets = [
|
||
|
|
widgets.steam
|
||
|
|
widgets.repos
|
||
|
|
];
|
||
|
|
}
|
||
|
|
{
|
||
|
|
size = "small";
|
||
|
|
widgets = [
|
||
|
|
widgets.calendar
|
||
|
|
widgets.weather
|
||
|
|
widgets.clock
|
||
|
|
];
|
||
|
|
}
|
||
|
|
];
|
||
|
|
name = "Dashboard";
|
||
|
|
}
|
||
|
|
]
|