fix(nixos): restore homepage header widgets
This commit is contained in:
@@ -143,6 +143,33 @@ in
|
|||||||
inherit (cfg) listenPort;
|
inherit (cfg) listenPort;
|
||||||
allowedHosts = lib.concatStringsSep "," (if cfg.allowedHosts == null then derivedAllowedHosts else cfg.allowedHosts);
|
allowedHosts = lib.concatStringsSep "," (if cfg.allowedHosts == null then derivedAllowedHosts else cfg.allowedHosts);
|
||||||
services = homepageServices;
|
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 = {
|
settings = {
|
||||||
title = "Tracion";
|
title = "Tracion";
|
||||||
theme = "dark";
|
theme = "dark";
|
||||||
|
|||||||
Reference in New Issue
Block a user