Compare commits
2
Commits
0cda6585df
...
d505d13d9a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d505d13d9a | ||
|
|
d517a3c4e9 |
No files matched your search
@@ -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 = [
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user