nixos/gocd-agent nixos/gocd-server: add types

This commit is contained in:
Scriptkiddi 2021-01-29 08:38:08 +01:00
parent e5ce05cc1e
commit c1b25f2529
No known key found for this signature in database
GPG key ID: F7FBBF6334AF4872
2 changed files with 5 additions and 0 deletions

View file

@ -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"

View file

@ -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"