Files
nix-jmu-cs345/README.md

40 lines
1.2 KiB
Markdown
Raw Normal View History

2025-04-15 08:13:49 -04:00
A pre-configured development environment for JMU's CS345
2025-04-15 00:59:39 -04:00
## Setup
### Using flakes
Inside your main `flake.nix`
```nix
{
description = "System Configuration Flake";
inputs = {
2025-04-15 08:13:49 -04:00
# ...
2025-04-15 01:09:44 -04:00
nix-jmu-cs345.url = "github:Eclypsed/nix-jmu-cs345/main";
2025-04-15 00:59:39 -04:00
};
2025-04-15 08:13:49 -04:00
outputs = { nixpkgs, nix-jmu-cs345, ... }@inputs: {
2025-04-15 00:59:39 -04:00
nixosConfigurations = {
2025-04-15 08:13:49 -04:00
# replace <your-hostname> with your actual hostname
2025-04-15 00:59:39 -04:00
<your-hostname> = nixpkgs.lib.nixosSystem {
# ...
modules = [
2025-04-15 08:13:49 -04:00
# ...
2025-04-15 00:59:39 -04:00
nix-jmu-cs345.nixosModules.bernstdh
];
};
};
};
}
```
Then, in your `configuraiton.nix` (or whichever nix file you please)
```nix
programs.nix-jmu-cs345.enable = true;
```
## Details
The developemnt environment is configured to include the following in accordance with the [CS345 Java Development Environment](https://w3.cs.jmu.edu/bernstdh/web/common/help/java-development-environment_setup.php). Note that currently the checkstyle and formatter configs will still have to be manually downloaded and configured within Eclipse.
- OpenJDK v21
- Eclipse IDE for Java Developers 2024-06 R
- Checkstyle plugin for Eclipse v10.17
- JUnit plugin for Eclipse v5.10
- EclEmma plugin for Eclipse v3.1.9