Skip to content

Autoincludes

Clan automatically imports the following files from a directory and registers them.

Machine registration

Every folder machines/{machineName} will be registered automatically as a Clan machine.

Automatically loaded files

The following files are loaded automatically for each Clan machine:

  • machines/{machineName}/configuration.nix
  • machines/{machineName}/hardware-configuration.nix
  • machines/{machineName}/facter.json Automatically configured, for further information see nixos-facter
  • machines/{machineName}/disko.nix Automatically loaded, for further information see the disko docs.