summary refs log tree commit diff
path: root/nixos/modules/services/development
diff options
context:
space:
mode:
authorKevin Rauscher <kevin.rauscher@tomahna.fr>2019-07-25 09:24:25 +0200
committerKevin Rauscher <kevin.rauscher@tomahna.fr>2019-07-25 09:28:13 +0200
commit17c2f79e39ecfd7ef7e995a2c8397447f1f75d14 (patch)
treea34a8f86cc1af7394be30fa97ae3562002c99819 /nixos/modules/services/development
parentd6b6015d3474590a6e1ea238255f904c866679ff (diff)
downloadnixpkgs-17c2f79e39ecfd7ef7e995a2c8397447f1f75d14.tar
nixpkgs-17c2f79e39ecfd7ef7e995a2c8397447f1f75d14.tar.gz
nixpkgs-17c2f79e39ecfd7ef7e995a2c8397447f1f75d14.tar.bz2
nixpkgs-17c2f79e39ecfd7ef7e995a2c8397447f1f75d14.tar.lz
nixpkgs-17c2f79e39ecfd7ef7e995a2c8397447f1f75d14.tar.xz
nixpkgs-17c2f79e39ecfd7ef7e995a2c8397447f1f75d14.tar.zst
nixpkgs-17c2f79e39ecfd7ef7e995a2c8397447f1f75d14.zip
bloop: allow specifying extra cli options
Diffstat (limited to 'nixos/modules/services/development')
-rw-r--r--nixos/modules/services/development/bloop.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/modules/services/development/bloop.nix b/nixos/modules/services/development/bloop.nix
index 5cb88cc49a1..226718a9e80 100644
--- a/nixos/modules/services/development/bloop.nix
+++ b/nixos/modules/services/development/bloop.nix
@@ -9,6 +9,20 @@ let
 in {
 
   options.services.bloop = {
+    extraOptions = mkOption {
+      type = types.listOf types.str;
+      default = [ ];
+      example = [
+        "-J-Xmx2G"
+        "-J-XX:MaxInlineLevel=20"
+        "-J-XX:+UseParallelGC"
+      ];
+      description = ''
+        Specifies additional command line argument to pass to bloop
+        java process.
+      '';
+    };
+
     install = mkOption {
       type = types.bool;
       default = false;