parent
b9402f4643
commit
2878943745
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
{...}: {
|
{lib, ...}: let
|
||||||
|
inherit (lib) mkForce;
|
||||||
|
in {
|
||||||
services = {
|
services = {
|
||||||
home-assistant = {
|
home-assistant = {
|
||||||
extraComponents = [
|
extraComponents = [
|
||||||
|
@ -44,4 +46,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Make sure it stays running through SMLIGHT reboots
|
||||||
|
systemd.services."zigbee2mqtt".serviceConfig = {
|
||||||
|
Restart = mkForce "always";
|
||||||
|
StartLimitIntervalSec = 0;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue