1
Fork 0

Custom octodns setup!

This commit is contained in:
prescientmoon 2024-07-08 03:06:27 +02:00
parent 9e853e9684
commit fd36e012f9
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
27 changed files with 434 additions and 59 deletions
hosts/nixos/common/optional/services

View file

@ -1,6 +1,5 @@
{
imports = [ ./acme.nix ];
satellite.nginx.domain = "moonythm.dev"; # Root domain used throughout my config
services.nginx = {
enable = true;
recommendedGzipSettings = true;

View file

@ -28,8 +28,15 @@ in
extraOptions.options.crashReportingEnabled = false;
};
guiAddress = "127.0.0.1:${toString config.satellite.ports.syncthing}";
settings.gui.insecureSkipHostcheck = true;
};
# Expose gui interface via nginx
satellite.nginx.at."syncthing.${config.networking.hostName}".port =
config.satellite.ports.syncthing;
# Syncthing seems to leak memory, so we want to restart it daily.
systemd.services.syncthing.serviceConfig.RuntimeMaxSec = "1d";