Skip to content

Filesender

services.filesender.configureNginx

Configure nginx as a reverse proxy for FileSender. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.database.createLocally

Create the PostgreSQL database and database user locally.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.database.hostname

Database hostname. Type: string

Default

"/run/postgresql"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.database.name

Database name. Type: string

Default

"filesender"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.database.passwordFile

A file containing the password corresponding to .

Type: null or path

Default

null

Example

"/run/keys/filesender-dbpassword"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.database.port

Database port. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

5432

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.database.user

Database user. Type: string

Default

"filesender"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.enable

Whether to enable FileSender. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.localDomain

The domain serving your FileSender instance. Type: string

Example

"filesender.example.org"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.package

The filesender package to use. Type: package

Default

pkgs.filesender

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.poolSettings

Options for FileSender's PHP pool. See the documentation on php-fpm.conf for details on configuration directives.

Type: attribute set of (string or signed integer or boolean)

Default

{pm = "dynamic";"pm.max_children" = "32";"pm.max_requests" = "500";"pm.max_spare_servers" = "4";"pm.min_spare_servers" = "2";"pm.start_servers" = "2";}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.settings

Configuration options used by FileSender. See for available options.

Type: PHP value

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.settings.admin

UIDs (as per the configured saml_uid_attribute) of FileSender administrators. Accounts with these UIDs can access the Admin page through the web UI.

Type: strings concatenated with ","

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.settings.admin_email

Email address of FileSender administrator(s). Emails regarding disk full etc. are sent here. You should use a role-address here.

Type: strings concatenated with ","

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.settings.log_facilities

Defines where FileSender logging is sent. You can sent logging to a file, to syslog or to the default PHP log facility (as configured through your webserver's PHP module). The directive takes an array of one or more logging targets. Logging can be sent to multiple targets simultaneously. Each logging target is a list containing the name of the logging target and a number of attributes which vary per log target. See below for the exact definiation of each log target. Type: PHP value

Default

[{type = "error_log";}]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.settings.site_url

Site URL. Used in emails, to build URLs for logging in, logging out, build URL for upload endpoint for web workers, to include scripts etc. Type: string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.settings.storage_filesystem_path

When using storage type filesystem this is the absolute path to the file system where uploaded files are stored until they expire. Your FileSender storage root. Type: null or string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix

services.filesender.user

User under which filesender runs. Type: string

Default

"filesender"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/filesender.nix