Update README and comment
This commit is contained in:
parent
7b0e92fa95
commit
0eec1c3ebc
2 changed files with 10 additions and 4 deletions
12
README.md
12
README.md
|
@ -35,14 +35,20 @@ vim ./flake.nix
|
||||||
|
|
||||||
4. **Ready** to go:
|
4. **Ready** to go:
|
||||||
```
|
```
|
||||||
nix develop
|
nix develop -c $SHELL
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
**Optional**:
|
**Optional**:
|
||||||
If you'd like to add **additional packages** to your new tritonshell, you
|
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
|
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).
|
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.
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
# Now the tritonshell environment nix module options are available
|
# Now the tritonshell environment nix module options are available
|
||||||
environment = {
|
environment = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# default options
|
# CUSTOMIZE if desired, default options are:
|
||||||
#cnsBaseDomain = "greenbaum.zone";
|
#cnsBaseDomain = "greenbaum.zone";
|
||||||
#dataCenters = [ "cgn-1" "lev-1" ];
|
#dataCenters = [ "cgn-1" "lev-1" ];
|
||||||
#mantaDomain = "eu-central.manta.greenbaum.cloud";
|
#mantaDomain = "eu-central.manta.greenbaum.cloud";
|
||||||
|
|
Loading…
Add table
Reference in a new issue