diff --git a/modules/amazon-profile.nix b/modules/amazon-profile.nix index b3e618f..c55c721 100644 --- a/modules/amazon-profile.nix +++ b/modules/amazon-profile.nix @@ -40,6 +40,7 @@ systemd.services.ec2-metadata = { description = "Fetch EC2 metadata and set up ssh keys for ec2-user"; + wants = [ "network-online.target" ]; after = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ];