The entry to the system config goes as follows:
- A
nixosSystemdefined undernixosConfigurationsinflake.niximports the hostsconfiguration.nixfromhosts/inputsshould be passed inspecialArgs
- The
configuration.nixshould- import the
hardware-configuration.nix,modules/ - define values for custom options which determine how the system gets configured
- set
networking.hostNameandsystem.stateVersion - do other extra configuration as necessary, that isn't part of defined modules
- import the