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:
parent
c0a6a41649
commit
913beb8324
|
@ -10,5 +10,6 @@ in {
|
|||
};
|
||||
users.users.${config.az-username}.extraGroups = [ "docker" ];
|
||||
environment.systemPackages = with pkgs; [ lazydocker ];
|
||||
systemd.services.docker.after = [ "network-online.target" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue