From 0b7c8b92f4a3051b618eb4e0149e519132bb8b78 Mon Sep 17 00:00:00 2001 From: ThinkChaos Date: Tue, 13 Apr 2021 13:37:41 +0200 Subject: [PATCH] nixos/k3s: Change dependency to `network.service` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- nixos/modules/services/cluster/k3s/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/cluster/k3s/default.nix b/nixos/modules/services/cluster/k3s/default.nix index 28805fd30049..c5692372ae27 100644 --- a/nixos/modules/services/cluster/k3s/default.nix +++ b/nixos/modules/services/cluster/k3s/default.nix @@ -78,8 +78,8 @@ in systemd.services.k3s = { description = "k3s service"; - after = [ "network-online.service" "firewall.service" ] ++ (optional cfg.docker "docker.service"); - wants = [ "network-online.service" "firewall.service" ]; + after = [ "network.service" "firewall.service" ] ++ (optional cfg.docker "docker.service"); + wants = [ "network.service" "firewall.service" ]; wantedBy = [ "multi-user.target" ]; serviceConfig = { # See: https://github.com/rancher/k3s/blob/dddbd16305284ae4bd14c0aade892412310d7edc/install.sh#L197