diff --git a/machines/storage/s0/home-automation.nix b/machines/storage/s0/home-automation.nix index be7fb38..e2dd499 100644 --- a/machines/storage/s0/home-automation.nix +++ b/machines/storage/s0/home-automation.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, lib, pkgs, ... }: { networking.firewall.allowedTCPPorts = [ @@ -78,6 +78,7 @@ address = "0.0.0.0"; openFirewall = true; }; + # TODO remove after upgrading nixos version systemd.services.esphome.serviceConfig.ProcSubset = lib.mkForce "all"; systemd.services.esphome.serviceConfig.ProtectHostname = lib.mkForce false; systemd.services.esphome.serviceConfig.ProtectKernelLogs = lib.mkForce false;