2022-01-13 20:21:56 +01:00
version = "1.0"
[ main ]
name = "Main configuration"
services = [ "__APP__" ]
2022-01-16 20:45:31 +01:00
2022-01-16 14:01:08 +01:00
[ main . auth ]
name = "Authentication"
2022-01-16 20:45:31 +01:00
[ main . auth . auth ]
2022-01-16 14:01:08 +01:00
ask = "Auth type"
type = "select"
choices = [ "none" , "password" ]
default = "none"
2022-01-16 20:45:31 +01:00
optional = false
2023-06-18 01:15:38 +02:00
bind = ":__INSTALL_DIR__/config.yaml"
2022-01-16 14:01:08 +01:00
[ main . auth . password ]
ask = "Password"
type = "password"
2022-01-16 20:45:31 +01:00
optional = true
visible = "auth == 'password'"
2022-01-16 14:01:08 +01:00
2022-01-13 20:21:56 +01:00
[ main . extensions ]
name = "Extensions"
optional = false
2022-01-30 18:02:23 +01:00
[ main . extensions . extensions_gallery_info ]
2024-05-12 18:37:29 +02:00
type = "alert"
2022-01-30 18:02:23 +01:00
ask = "Read more about the Extention Gallery on [code-server FAQ](https://coder.com/docs/code-server/latest/FAQ#why-cant-code-server-use-microsofts-extension-marketplace)."
style = "info"
2022-01-13 20:21:56 +01:00
[ main . extensions . extensions_gallery ]
ask = "Extensions Gallery"
type = "string"
example = "{\"serviceUrl\": \"https://open-vsx.org/vscode/gallery\",\"itemUrl\": \"https://open-vsx.org/vscode/item\"}"
2022-01-30 18:02:23 +01:00
help = "[Documentation](https://coder.com/docs/code-server/latest/FAQ#how-do-i-use-my-own-extensions-marketplace)"
2022-01-16 20:45:31 +01:00
optional = false
2023-06-18 01:15:38 +02:00
bind = ":__INSTALL_DIR__/code-server.env"
2022-01-13 20:21:56 +01:00
[ main . extensions . enable_proposed_api ]
ask = "Enable Proposed API"
type = "tags"
optional = true