diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index cf475f13b..6fa96b6c5 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -14,6 +14,7 @@ # Contributing - [Commit Convention](commit_convention.md) +- [Development Environment](development_environment.md) - [Adding modules](modules.md) - [Testbeds](testbeds.md) - [Style guide](styling.md) diff --git a/docs/src/development_environment.md b/docs/src/development_environment.md new file mode 100644 index 000000000..163671997 --- /dev/null +++ b/docs/src/development_environment.md @@ -0,0 +1,7 @@ +# Development Environment + +To enter the developer shell, run: + +```console +nix develop +``` diff --git a/flake.nix b/flake.nix index d79c0071d..a407bb65d 100644 --- a/flake.nix +++ b/flake.nix @@ -70,6 +70,10 @@ inherit (nixpkgs) lib; pkgs = nixpkgs.legacyPackages.${system}; in { + devShells.default = pkgs.mkShell { + packages = [ inputs.home-manager.packages.${system}.default ]; + }; + packages = let universalPackages = { docs = import ./docs { inherit pkgs inputs lib; };