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

@ -8,6 +8,8 @@ inputs:
description: 'Set NIX_PATH environment variable. If set "skip_adding_nixpkgs_channel" will be implicitly enabled'
skip_adding_nixpkgs_channel:
description: 'Skip adding nixpkgs-unstable channel'
extra_nix_config:
description: 'gets appended to `/etc/nix/nix.conf` if passed.'
branding:
color: 'blue'
icon: 'sun'