home-assistant: allow LAN network to access home-assistant
This commit is contained in:
parent
0054694bdf
commit
9a4225e39a
1 changed files with 5 additions and 2 deletions
|
@ -32,8 +32,11 @@ in {
|
|||
time_zone = config.time.timeZone;
|
||||
auth_providers = [{
|
||||
type = "trusted_networks";
|
||||
trusted_networks =
|
||||
[ config.module.cluster.services.tinc."private".networkSubnet ];
|
||||
trusted_networks = [
|
||||
config.module.cluster.services.tinc."private".networkSubnet
|
||||
# lan network
|
||||
"10.1.0.0/24"
|
||||
];
|
||||
}];
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue