Construct a path in configuration.nix

I tried changing that second import to

      (/home/amy/dotWombat/nixos + "/${config.networking.hostName}.nix")

and got an infinite recursion error

# nixos-rebuild switch --upgrade
unpacking channels...
error: infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:62:71
(use '--show-trace' to show detailed location information)
building Nix...
error: infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:62:71
(use '--show-trace' to show detailed location information)
building the system configuration...
error: infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:62:71
(use '--show-trace' to show detailed location information)

So it looks like what I’m trying to do just isn’t possible.