homeassistant: allow remote connection via tailscale tunnel
This commit is contained in:
parent
3cf490c052
commit
875066f774
2 changed files with 24 additions and 0 deletions
|
@ -112,6 +112,26 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.home-assistant = {
|
||||
enable = true;
|
||||
configWritable = true;
|
||||
config = {
|
||||
homeassistant = {
|
||||
name = "Heidelberg";
|
||||
temperature_unit = "C";
|
||||
unit_system = "metric";
|
||||
};
|
||||
|
||||
http = {
|
||||
use_x_forwarded_for = true;
|
||||
trusted_proxies = [
|
||||
"100.86.250.97"
|
||||
];
|
||||
};
|
||||
};
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
# Pi specific stuff
|
||||
raspberry-pi-nix = {
|
||||
board = "bcm2712";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue