add extra_nix_config options

This also cleans the install-nix.sh script a bit
This commit is contained in:
zimbatm 2020-08-25 18:07:38 +02:00
parent 3559d01d05
commit dad23f2092
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
3 changed files with 17 additions and 5 deletions

View file

@ -35,6 +35,7 @@ with developers.
- `nix_path`: set `NIX_PATH` environment variable (if set `skip_adding_nixpkgs_channel` will be implicitly enabled)
- `skip_adding_nixpkgs_channel`: set to `true` to skip adding nixpkgs-unstable channel (and save ~5s for each job build)
- `extra_nix_config`: gets appended to `/etc/nix/nix.conf` if passed.
---