enable flakes & nix-command features by default

This commit is contained in:
Domen Kožar 2021-11-05 15:28:02 -06:00
parent 825ca3e533
commit 53fb0300a7
3 changed files with 20 additions and 2 deletions

View file

@ -18,6 +18,9 @@ add_config "trusted-users = root $USER"
if [[ $INPUT_EXTRA_NIX_CONFIG != "" ]]; then
add_config "$INPUT_EXTRA_NIX_CONFIG"
fi
if [[ ! $INPUT_EXTRA_NIX_CONFIG =~ "experimental-features" ]]; then
add_config "experimental-features = nix-command flakes"
fi
# Nix installer flags
installer_options=(