Custom octodns setup!
This commit is contained in:
parent
9e853e9684
commit
fd36e012f9
27 changed files with 434 additions and 59 deletions
hosts/nixos/common/optional/services
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
imports = [ ./acme.nix ];
|
||||
satellite.nginx.domain = "moonythm.dev"; # Root domain used throughout my config
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedGzipSettings = true;
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue