diff --git a/README.md b/README.md index 9365db4..2dacfbf 100644 --- a/README.md +++ b/README.md @@ -35,14 +35,20 @@ vim ./flake.nix 4. **Ready** to go: ``` -nix develop +nix develop -c $SHELL ``` **Optional**: If you'd like to add **additional packages** to your new tritonshell, you -can do so: just edit `flake.nix` and look for `extraDevshellPkgs`. Packages +can do so: just edit `flake.nix` and look for `devshell.packages`. Packages added here will be pulled from the `nixos-unstable` channel, you can [search for available packages here](https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=hello). -TODO: add `nix-direnv` +You can use `nix-direnv` with this template, [read here how to install it](https://github.com/nix-community/nix-direnv#installation). +Then, just run: +``` +direnv allow +``` +in the newly created `./tritonshell` directory to automatically rebuild the +flake upon changes to the `flake.nix` file. diff --git a/template/flake.nix b/template/flake.nix index 4dc898f..9611593 100644 --- a/template/flake.nix +++ b/template/flake.nix @@ -27,7 +27,7 @@ # Now the tritonshell environment nix module options are available environment = { enable = true; - # default options + # CUSTOMIZE if desired, default options are: #cnsBaseDomain = "greenbaum.zone"; #dataCenters = [ "cgn-1" "lev-1" ]; #mantaDomain = "eu-central.manta.greenbaum.cloud";