From 2209e473a5c1e772d87e2f9fb9d2a2f43f558b53 Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Wed, 24 Jan 2024 18:08:53 +0100 Subject: [PATCH] Fix network-online --- modules/amazon-profile.nix | 1 + 1 file changed, 1 insertion(+) 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" ];