diff --git a/_nixos-option b/_nixos-option index 0b44ca4..f35baba 100644 --- a/_nixos-option +++ b/_nixos-option @@ -6,6 +6,8 @@ _nixos-option-opts() { local mods= if [[ -n "$NIX_PATH" && "$NIX_PATH" =~ "nixos-config=" ]]; then mods="(import )" + else + mods="{ nixpkgs.hostPlatform = builtins.currentSystem; }" fi local options=' with import ;