Merge pull request 'networking: don't add nachtigall.pub.solar to /etc/hosts' () from networking-dont-set-domain into main

Reviewed-on: 
Reviewed-by: Akshay Mankar <axeman@noreply.git.pub.solar>
This commit is contained in:
teutat3s 2025-04-25 23:41:57 +00:00
commit 1ade182428
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873
2 changed files with 5 additions and 3 deletions
modules

View file

@ -27,7 +27,9 @@
# Don't expose SSH via public interfaces
networking.firewall.interfaces.wg-ssh.allowedTCPPorts = [ 22 ];
networking.domain = config.pub-solar-os.networking.domain;
# Setting this value breaks Matrix -> NextPush integration because
# matrix-synapse doesn't like it if nachtigall.pub.solar resolves to localhost.
#networking.domain = config.pub-solar-os.networking.domain;
networking.hosts = {
"10.7.6.1" = [ "nachtigall.wg.${config.pub-solar-os.networking.domain}" ];

View file

@ -102,8 +102,8 @@
notify_push = {
enable = true;
# Setting this to true breaks matrix -> nextpush integration because
# matrix doesn't like it if cloud.pub.solar resolves to localhost.
# Setting this to true breaks Matrix -> NextPush integration because
# matrix-synapse doesn't like it if cloud.pub.solar resolves to localhost.
bendDomainToLocalhost = false;
};