{ config, pkgs, modulesPath, ... }:

{
  imports = [ "${modulesPath}/virtualisation/amazon-image.nix" ];
}

{
  imports = [ ./amazon-image.nix ];
}

Fix import using module args
Fix import using module args
