From 28744c76282e17db45ebaba2204b815f90885ca9 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Fri, 31 May 2024 09:53:08 +0200 Subject: [PATCH] wait for network-online before update --- hosts/default/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 1408da6..11000e4 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -340,6 +340,12 @@ Type = "oneshot"; User = "root"; }; + wants = [ + "network-online.target" + ]; + after = [ + "network-online.target" + ]; }; environment.etc = {