home-assistant: fix mqtt and floorplan
Some checks failed
Check flake / build-amd64-linux (push) Failing after 3m22s

This commit is contained in:
Jordan Holt 2025-03-10 22:12:36 +00:00
parent 6ec24bd694
commit fd2ddd3878
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
2 changed files with 142 additions and 154 deletions

View File

@ -1,15 +1,9 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.services.home-assistant;
in
{
config = lib.mkIf cfg.enable {
services.home-assistant = {
customLovelaceModules = [
pkgs.lovelace-floorplan
@ -90,5 +84,4 @@ in
}
];
};
};
}

View File

@ -6,11 +6,7 @@
...
}:
let
cfg = config.modules.services.home-assistant;
in
{
config = lib.mkIf cfg.enable {
services.mosquitto = {
enable = true;
listeners = [
@ -88,5 +84,4 @@ in
"mqtt_statestream"
];
};
};
}