Skip to content

Zerobin

services.zerobin.dataDir

Path to the 0bin data directory

Type: string

Default

"/var/lib/zerobin"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/zerobin.nix

services.zerobin.enable

Whether to enable 0bin. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/zerobin.nix

services.zerobin.extraConfig

Extra configuration to be appended to the 0bin config file (see https://0bin.readthedocs.org/en/latest/en/options.html)

Type: strings concatenated with "\n"

Default

""

Example

'' MENU = ( ('Home', '/'), ) COMPRESSED_STATIC_FILE = True''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/zerobin.nix

services.zerobin.group

The group 0bin should run as

Type: string

Default

"zerobin"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/zerobin.nix

services.zerobin.listenAddress

The address zerobin should listen to

Type: string

Default

"localhost"

Example

"127.0.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/zerobin.nix

services.zerobin.listenPort

The port zerobin should listen on

Type: signed integer

Default

8000

Example

1357

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/zerobin.nix

services.zerobin.user

The user 0bin should run as

Type: string

Default

"zerobin"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/zerobin.nix