Update README and comment

This commit is contained in:
jhonas 2022-10-12 14:36:52 +02:00
parent 7b0e92fa95
commit 0eec1c3ebc
Signed by: teutat3s
GPG key ID: 924889A86D0B0FEB
2 changed files with 10 additions and 4 deletions

View file

@ -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.

View file

@ -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";