Only start docker after the network is available

Otherwise downloading images doesn't work because certificate verification
doesn't work.
This commit is contained in:
Andreas Zweili 2024-01-15 14:58:02 +01:00
parent c0a6a41649
commit 913beb8324
1 changed files with 1 additions and 0 deletions

View File

@ -10,5 +10,6 @@ in {
};
users.users.${config.az-username}.extraGroups = [ "docker" ];
environment.systemPackages = with pkgs; [ lazydocker ];
systemd.services.docker.after = [ "network-online.target" ];
};
}