hass: enable trusted auth providers

This commit is contained in:
Motiejus Jakštys 2024-09-12 16:42:29 +03:00
parent 48a4f1fc2e
commit 984b5b1be4

View File

@ -44,14 +44,14 @@ in
use_x_forwarded_for = true;
trusted_proxies = [ "127.0.0.1" ];
};
#homeassistant = {
# auth_providers = [
# {
# type = "trusted_networks";
# trusted_networks = myData.subnets.motiejus.cidrs;
# }
# ];
#};
homeassistant = {
auth_providers = [
{
type = "trusted_networks";
trusted_networks = myData.subnets.motiejus.cidrs;
}
];
};
wake_on_lan = { };