services.send.environment
NixOS option
All the available config options and their defaults can be found here: https://github.com/timvisee/send/blob/master/server/config.js, some descriptions can found here: https://github.com/timvisee/send/blob/master/docs/docker.md#environment-variables Values under services.send.environment will override the predefined values in the Send service. Time/duration should be in seconds Filesize values should be in bytes
type: attribute set of (null or boolean or signed integer or string or list of signed integer)Default
{ }Example
declared in: nixos/modules/services/web-servers/send.nixView source on NixOS/nixpkgs →{
DEFAULT_DOWNLOADS = 1;
DETECT_BASE_URL = true;
EXPIRE_TIMES_SECONDS = [
300
3600
86400
604800
];
}