blob: da56ade6ad7032a8bd90dac31937501116d4d40d (
plain) (
tree)
|
|
{ config, ... }: let
name = config.userdata.user;
email = config.userdata.email;
in {
imports = [ ./ftpsync.nix ];
services.ftpsync = {
enable = true;
settings = {
RSYNC_HOST = "ossmirror.mycloud.services";
RSYNC_PATH = "debian";
ARCH_INCLUDE = "amd64 riscv64";
INFO_MAINTAINER = "${name} <${email}>";
INFO_COUNTRY = "IN";
INFO_LOCATION = "Kochi, Kerala";
INFO_THROUGHPUT = "1Gb";
MAILTO = email;
};
};
}
|