diff --git a/README.md b/README.md index ad93e27..ae06aa0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -A nixos module for installing a pre-configured development environment for JMU's CS345 +A nixos module for installing a pre-configured development environment for JMU's CS345 on NixOS ## Setup ### Using flakes Inside your main `flake.nix` @@ -22,7 +22,9 @@ Inside your main `flake.nix` }; } ``` -Then, in your `configuraiton.nix` (or whichever nix file you please) +For use in home-manager, import `nix-jmu-cs345.homeManagerModules.bernstdh` in your `home.nix` instead. + +Then, in your configuration, enable the environment. ```nix programs.nix-jmu-cs345.enable = true; ``` diff --git a/modules/eclipse.nix b/modules/eclipse.nix index ea1b0aa..2a4fabd 100644 --- a/modules/eclipse.nix +++ b/modules/eclipse.nix @@ -20,7 +20,8 @@ let name = "checkstyle-v10.17"; src = ../plugins/checkstyle-v10.17; }; - +in +{ # A custom derivation of Eclipse with CS345's requirements. eclipse-cs345 = eclipseWithPlugins { eclipse = eclipse-v2024-06; @@ -29,8 +30,4 @@ let plugins.color-theme ]; }; - -in -{ - inherit eclipse-cs345; }