home-assistant: fix mqtt and floorplan
Some checks failed
Check flake / build-amd64-linux (push) Failing after 3m22s
Some checks failed
Check flake / build-amd64-linux (push) Failing after 3m22s
This commit is contained in:
parent
6ec24bd694
commit
fd2ddd3878
@ -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
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user