My Nix Configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[marvin] library: add some cli options to reduce memory usage

dish 80ccb7ae 6bc18ccb

+6 -1
+6 -1
hosts/marvin/services/library.nix
··· 37 37 "-XX:ShenandoahGuaranteedGCInterval=30000" 38 38 "-XX:MaxDirectMemorySize=256m" 39 39 ]; 40 + 41 + cliOptions = [ 42 + "--spring.jmx.enabled=false" 43 + "--server.tomcat.mbeanregistry.enabled=false" 44 + ]; 40 45 in 41 46 { 42 47 systemd = { ··· 101 106 User = "booklore"; 102 107 Group = "booklore"; 103 108 StateDirectory = "booklore"; 104 - ExecStart = "${lib.getExe self'.packages.grimmory}"; 109 + ExecStart = "${lib.getExe self'.packages.grimmory} ${lib.concatStringsSep " " cliOptions}"; 105 110 106 111 # Hardening 107 112 PrivateDevices = true;