mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/home-automation: remove fix ported upstream
This commit is contained in:
parent
fadbfd1e01
commit
b95020b3b0
1 changed files with 0 additions and 8 deletions
|
@ -133,14 +133,6 @@ in
|
||||||
esphome.enable = true;
|
esphome.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO remove after merge + backport: https://github.com/NixOS/nixpkgs/pull/270519
|
|
||||||
systemd.services.esphome.serviceConfig = {
|
|
||||||
ProtectHostname = lib.mkForce false;
|
|
||||||
ProtectKernelLogs = lib.mkForce false;
|
|
||||||
ProtectKernelTunables = lib.mkForce false;
|
|
||||||
ProcSubset = lib.mkForce "all";
|
|
||||||
};
|
|
||||||
|
|
||||||
my.services.prometheus.rules = {
|
my.services.prometheus.rules = {
|
||||||
homeassistant = {
|
homeassistant = {
|
||||||
condition = ''homeassistant_entity_available{domain="persistent_notification", entity!~"persistent_notification.http_login|persistent_notification.recorder_database_migration"} >= 0'';
|
condition = ''homeassistant_entity_available{domain="persistent_notification", entity!~"persistent_notification.http_login|persistent_notification.recorder_database_migration"} >= 0'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue