3
0
Fork 0
forked from mirrors/nixpkgs

nixos/docker: re-add network.target

Currently if docker starts concurrently with
firewall.service/systemd-networkd it breaks both due to iptables/netlink
logs.
This commit is contained in:
Jörg Thalheim 2021-03-25 21:44:59 +01:00
parent 3205e23fe0
commit 0f4872b4c4
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -157,6 +157,7 @@ in
systemd.services.docker = {
wantedBy = optional cfg.enableOnBoot "multi-user.target";
after = [ "network.target" "docker.socket" ];
requires = [ "docker.socket" ];
environment = proxy_env;
serviceConfig = {