Files
dotfiles/nixos/ryu/services/rsyncd.nix
2025-02-21 15:12:09 +05:30

20 lines
404 B
Nix

{...}: {
services.rsyncd = {
enable = false;
# openFirewall = true;
settings = {
media = {
path = "/media";
comment = "Media";
"read only" = true;
# "use chroot" = "no";
list = true;
uid = "root";
gid = "root";
};
};
};
networking.firewall.allowedTCPPorts = [873];
networking.firewall.allowedUDPPorts = [873];
}