They are two files located in /etc/nixos/ configuration.nix and hardware-configuration.nix. You can create more and source them in configuration.nix