Coder
services.coder.accessUrl
Access URL should be a external IP address or domain with DNS records pointing to Coder.
Type: null or string
Default
null
Example
"https://coder.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.database.createLocally
Create the database and database user locally.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.database.database
Name of database.
Type: string
Default
"coder"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.database.host
Hostname hosting the database.
Type: string
Default
"/run/postgresql"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.database.password
Password for accessing the database.
Type: null or string
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.database.sslmode
Password for accessing the database.
Type: null or string
Default
"disable"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.database.username
Username for accessing the database.
Type: string
Default
"coder"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.enable
Whether to enable Coder service.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.environment.extra
Extra environment variables to pass run Coder's server with. See Coder documentation.
Type: attribute set
Default
{ }
Example
{CODER_OAUTH2_GITHUB_ALLOWED_ORGS = "your-org";CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS = true;}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.environment.file
Systemd environment file to add to Coder.
Type: null or path
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.group
Group under which the coder service runs.
::: {.note} If left as the default value this group will automatically be created on system activation, otherwise it needs to be configured manually. :::
Type: string
Default
"coder"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.homeDir
Home directory for coder user.
Type: string
Default
"/var/lib/coder"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.listenAddress
Listen address.
Type: string
Default
"127.0.0.1:3000"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.package
The coder package to use.
Type: package
Default
pkgs.coder
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.tlsCert
The path to the TLS certificate.
Type: null or path
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.tlsKey
The path to the TLS key.
Type: null or path
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.user
User under which the coder service runs.
::: {.note} If left as the default value this user will automatically be created on system activation, otherwise it needs to be configured manually. :::
Type: string
Default
"coder"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix
services.coder.wildcardAccessUrl
If you are providing TLS certificates directly to the Coder server, you must use a single certificate for the root and wildcard domains.
Type: null or string
Default
null
Example
"*.coder.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/coder.nix