1 2 3 4 5 6 7 8
{ config, ... }: let host = import ./. + "/host.nix"; conf = import ./. + "/hosts/${host.name}.nix"; in { config = conf; }