From b95020b3b057f661c96413d9968ae3fe361ad8ca Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 16 Dec 2023 14:54:09 +0100 Subject: [PATCH] service/home-automation: remove fix ported upstream --- modules/services/home-automation/default.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/services/home-automation/default.nix b/modules/services/home-automation/default.nix index 78c3b10..a1d9e06 100644 --- a/modules/services/home-automation/default.nix +++ b/modules/services/home-automation/default.nix @@ -133,14 +133,6 @@ in 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 = { homeassistant = { condition = ''homeassistant_entity_available{domain="persistent_notification", entity!~"persistent_notification.http_login|persistent_notification.recorder_database_migration"} >= 0'';