Gemstash
services.gemstash.enable
Whether to enable gemstash, a cache for rubygems.org and a private gem server.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/development/gemstash.nix
services.gemstash.openFirewall
Whether to open the firewall for the port in {option}services.gemstash.bind
.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/development/gemstash.nix
services.gemstash.settings
Configuration for Gemstash. The details can be found at in gemstash documentation. Each key set here is automatically prefixed with ":" to match the gemstash expectations.
Type: YAML value
Default
{ }
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/development/gemstash.nix
services.gemstash.settings.base_path
Path to store the gem files and the sqlite database. If left unchanged, the directory will be created.
Type: path
Default
"/var/lib/gemstash"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/development/gemstash.nix
services.gemstash.settings.bind
Host and port combination for the server to listen on.
Type: string
Default
"tcp://0.0.0.0:9292"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/development/gemstash.nix
services.gemstash.settings.db_adapter
Which database type to use. For choices other than sqlite3, the dbUrl has to be specified as well.
Type: null or one of "sqlite3", "postgres", "mysql", "mysql2"
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/development/gemstash.nix
services.gemstash.settings.db_url
The database to connect to when using postgres, mysql, or mysql2.
Type: null or string
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/development/gemstash.nix