fix(nixos): restore homepage header widgets
This commit is contained in:
@@ -143,6 +143,33 @@ in
|
||||
inherit (cfg) listenPort;
|
||||
allowedHosts = lib.concatStringsSep "," (if cfg.allowedHosts == null then derivedAllowedHosts else cfg.allowedHosts);
|
||||
services = homepageServices;
|
||||
widgets = [
|
||||
{
|
||||
greeting = {
|
||||
text_size = "xl";
|
||||
text = "tracion";
|
||||
};
|
||||
}
|
||||
{
|
||||
openmeteo = {
|
||||
units = "metric";
|
||||
latitude = 42.281559;
|
||||
longitude = -71.418831;
|
||||
cache = 5;
|
||||
};
|
||||
}
|
||||
{
|
||||
datetime = {
|
||||
text_size = "xl";
|
||||
locale = "en";
|
||||
format = {
|
||||
dateStyle = "full";
|
||||
timeStyle = "medium";
|
||||
hour12 = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
settings = {
|
||||
title = "Tracion";
|
||||
theme = "dark";
|
||||
|
||||
Reference in New Issue
Block a user