diff --git a/config/services/invtracker.nix b/config/services/invtracker.nix index b6b5c034..bf01f1d5 100644 --- a/config/services/invtracker.nix +++ b/config/services/invtracker.nix @@ -20,6 +20,9 @@ Restart = "always"; }; wantedBy = ["multi-user.target"]; + environment = { + JAVA_HOME = "${pkgs.openjdk_headless}"; + }; }; services.nginx.virtualHosts."invtracker.chir.rs" = { sslCertificate = "/var/lib/acme/chir.rs/cert.pem";