feat: add homepage icons and Home Assistant entry
This commit is contained in:
@@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user