diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-30 02:22:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 02:22:03 +0100 |
commit | 548dc3cc62b37f7497a26d466182987a1ca7d60f (patch) | |
tree | 7bc792fdb0796f58e543775c33c14c68612a9b5c /nixos | |
parent | fb6564959f4d112919a038e0f8fbffedcc126b71 (diff) | |
parent | c1b25f252948fa4da8ce6f4bb8f0cfb025fc512d (diff) |
Merge pull request #111125 from helsinki-systems/gocd-agent
nixos/gocd-agent nixos/gocd-server: add types
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/continuous-integration/gocd-agent/default.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/continuous-integration/gocd-server/default.nix | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/continuous-integration/gocd-agent/default.nix b/nixos/modules/services/continuous-integration/gocd-agent/default.nix index 2e9e1c94857a..8cae08bf1fa0 100644 --- a/nixos/modules/services/continuous-integration/gocd-agent/default.nix +++ b/nixos/modules/services/continuous-integration/gocd-agent/default.nix @@ -90,6 +90,7 @@ in { }; startupOptions = mkOption { + type = types.listOf types.str; default = [ "-Xms${cfg.initialJavaHeapSize}" "-Xmx${cfg.maxJavaHeapMemory}" @@ -105,6 +106,7 @@ in { extraOptions = mkOption { default = [ ]; + type = types.listOf types.str; example = [ "-X debug" "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006" diff --git a/nixos/modules/services/continuous-integration/gocd-server/default.nix b/nixos/modules/services/continuous-integration/gocd-server/default.nix index 4fa41ac49edf..4c829664a0a5 100644 --- a/nixos/modules/services/continuous-integration/gocd-server/default.nix +++ b/nixos/modules/services/continuous-integration/gocd-server/default.nix @@ -27,6 +27,7 @@ in { extraGroups = mkOption { default = [ ]; + type = types.listOf types.str; example = [ "wheel" "docker" ]; description = '' List of extra groups that the "gocd-server" user should be a part of. @@ -92,6 +93,7 @@ in { }; startupOptions = mkOption { + type = types.listOf types.str; default = [ "-Xms${cfg.initialJavaHeapSize}" "-Xmx${cfg.maxJavaHeapMemory}" @@ -113,6 +115,7 @@ in { extraOptions = mkOption { default = [ ]; + type = types.listOf types.str; example = [ "-X debug" "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" |