feat: add homepage icons and Home Assistant entry

This commit is contained in:
marthsincemelee
2026-04-20 16:34:27 +02:00
parent 004f04eca5
commit 2d43ed36ea
12 changed files with 39 additions and 2 deletions
@@ -7,6 +7,7 @@
}:
let
cfg = config.my.profiles.home-assistant;
hostName = config.networking.hostName;
in
{
options.my.profiles.home-assistant = with lib; {
@@ -25,5 +26,15 @@ in
name = "Home - Rechberg";
unit_system = "metric";
};
my.homepage.services = [
{
group = "Home";
name = "Home Assistant";
description = "Home automation";
href = "http://${hostName}:8123";
icon = "si-homeassistant";
}
];
};
}