A Nix Flake to install the VS Code with Extensions Nix package with pre-configured extensions to use for Java projects.
Using Nix, you can install the package as follows:
nix profile install github:thomasvitale/vscode-java-flake
Using Flox, you can install the package in your development environment as follows:
flox install github:thomasvitale/vscode-java-flake
Using nix, you can build the flake and generate a lock file. Whenever the flake is updated with a new version, this command needs to be run again.
nix build --extra-experimental-features flakes --extra-experimental-features nix-command