fix: rsyncd having port issues

This commit is contained in:
nydragon 2025-03-16 02:40:24 +01:00
parent 6f9054f69b
commit f8975e0896
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,6 @@
server = {
rsync-daemon = {
enable = true;
port = 9523;
openFirewall = true;
location = "/mnt/backups";
address = "100.64.0.6";

View file

@ -26,7 +26,7 @@ in
default = false;
description = "Whether to open the firewall";
};
port = mkPortOption 9523 "rsyncd";
port = mkPortOption 873 "rsyncd";
address = mkOption {
type = nonEmptyStr;
default = "0.0.0.0";
@ -80,6 +80,7 @@ in
modules.fixes.services.rsyncd = {
enable = true;
inherit (cfg) port;
socketActivated = true;
settings = {
globalSection = {