Translations:NixOS as a desktop/16/en
As long as you declare options for any values you want to share between modules, you can divide your configuration however you like into files that get imported, directly or transitively, by your root configuration.nix file. You can also import modules from remote sources, using functions like builtins.fetchTarball
. See the wiki page or the NixOS manual for more information.