lol

nixos/logstash: Don't set unnecessary JAVA_HOME

+1 -2
+1 -2
nixos/modules/services/logging/logstash.nix
··· 159 159 ###### implementation 160 160 161 161 config = mkIf cfg.enable { 162 - systemd.services.logstash = with pkgs; { 162 + systemd.services.logstash = { 163 163 description = "Logstash Daemon"; 164 164 wantedBy = [ "multi-user.target" ]; 165 - environment = { JAVA_HOME = jre; }; 166 165 path = [ pkgs.bash ]; 167 166 serviceConfig = { 168 167 ExecStartPre = ''${pkgs.coreutils}/bin/mkdir -p "${cfg.dataDir}" ; ${pkgs.coreutils}/bin/chmod 700 "${cfg.dataDir}"'';