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

This commit is contained in:
2025-03-10 22:12:36 +00:00
parent 6ec24bd694
commit fd2ddd3878
2 changed files with 142 additions and 154 deletions

View File

@ -1,15 +1,9 @@
{ {
config,
lib,
pkgs, pkgs,
... ...
}: }:
let
cfg = config.modules.services.home-assistant;
in
{ {
config = lib.mkIf cfg.enable {
services.home-assistant = { services.home-assistant = {
customLovelaceModules = [ customLovelaceModules = [
pkgs.lovelace-floorplan 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 = { services.mosquitto = {
enable = true; enable = true;
listeners = [ listeners = [
@ -88,5 +84,4 @@ in
"mqtt_statestream" "mqtt_statestream"
]; ];
}; };
};
} }