Skip to content

Legit

services.legit.enable

Whether to enable legit git web frontend. Type: boolean

Default

false

Example

true

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

services.legit.group

Group account under which legit runs. Type: string

Default

"legit"

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

services.legit.package

The legit-web package to use. Type: package

Default

pkgs.legit-web

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

services.legit.settings

The primary legit configuration. See the sample configuration for possible values.

Type: submodule

Default

{ }

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

services.legit.settings.dirs.static

Directories where static files are located. Type: path

Default

"${pkgs.legit-web}/lib/legit/static"

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

services.legit.settings.dirs.templates

Directories where template files are located. Type: path

Default

"${pkgs.legit-web}/lib/legit/templates"

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

services.legit.settings.meta.description

Website description. Type: string

Default

"git frontend"

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

services.legit.settings.meta.title

Website title. Type: string

Default

"legit"

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

services.legit.settings.repo.ignore

Repositories to ignore. Type: list of string

Default

[ ]

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

services.legit.settings.repo.mainBranch

Main branch to look for. Type: list of string

Default

["main""master"]

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

services.legit.settings.repo.readme

Readme files to look for. Type: list of string

Default

[ ]

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

services.legit.settings.repo.scanPath

Directory where legit will scan for repositories. Type: path

Default

"/var/lib/legit"

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

services.legit.settings.server.host

Host address. Type: string

Default

"127.0.0.1"

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

services.legit.settings.server.name

Server name. Type: string

Default

"localhost"

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

services.legit.settings.server.port

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

Default

5555

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

services.legit.user

User account under which legit runs. Type: string

Default

"legit"

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