Compare commits

...
2 Commits
Author SHA1 Message Date
Jan-Bulthuis d505d13d9a fix: ipv6 setup and reverse proxy 2026-10-23 03:24:13 +02:00
Jan-Bulthuis d517a3c4e9 feat: disable adcli-join on ws-home 2026-10-23 03:19:34 +02:00
2 changed files with 16 additions and 1 deletions

No files matched your search

+15
View File
@@ -13,6 +13,16 @@
modules = { modules = {
profiles.server.enable = true; profiles.server.enable = true;
disko.profile = "ws-home"; disko.profile = "ws-home";
domain.enable = false;
};
# Let the kernel handle router advertisements, so the route to the
# Thread network advertised by the OTBR gets installed
networking.dhcpcd.IPv6rs = false;
boot.kernel.sysctl = {
"net.ipv6.conf.default.accept_ra_rt_info_max_plen" = 64;
"net.ipv6.conf.eno1.accept_ra" = 1;
"net.ipv6.conf.eno1.accept_ra_rt_info_max_plen" = 64;
}; };
# Matter controller # Matter controller
@@ -43,6 +53,11 @@
extraComponents = [ "matter" ]; extraComponents = [ "matter" ];
config = { config = {
homeassistant = { }; homeassistant = { };
http = {
use_x_forwarded_for = true;
# TODO: Narrow down to the address the internal gateway connects from
trusted_proxies = [ "10.10.0.0/16" ];
};
}; };
}; };
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
+1 -1
View File
@@ -27,7 +27,7 @@ in
''; '';
}; };
domain = { domain = {
enable = true; enable = mkDefault true;
join = { join = {
userFile = config.sops.secrets."vm-join/user".path; userFile = config.sops.secrets."vm-join/user".path;
passwordFile = config.sops.secrets."vm-join/password".path; passwordFile = config.sops.secrets."vm-join/password".path;