Before flakes existed, NixOS worked like this:
/etc/nixos/configuration.nix (hardcoded location)sudo nixos-rebuild switchnix-channelThe system would read configuration.nix, resolve all imports, and build the system. Channels were mutable and could change between builds, making reproducibility difficult.
Your alias bnixnf (sudo nixos-rebuild switch) would use this traditional flow.
Flakes are a new, opt-in feature that provide:
flake.nix in the project rootflake.lock file pins exact versionsYou enabled flakes with this line in configuration.nix:
nix.settings.experimental-features = [ "nix-command" "flakes" ];