From edb21f673d9aa00e161bec168531e8490eff9d65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Thu, 1 Aug 2024 22:12:02 +0300 Subject: [PATCH] 'Fix' wireguard autostart --- machine-confs/helium.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machine-confs/helium.nix b/machine-confs/helium.nix index ab3713f..db08908 100644 --- a/machine-confs/helium.nix +++ b/machine-confs/helium.nix @@ -47,6 +47,11 @@ }; }; }; + # Dirty hack to fix autostart failing due to DNS lookups + systemd.services."wg-quick-wg0".serviceConfig = { + Restart = "on-failure"; + RestartSec = "1s"; + }; nix.settings = { cores = 3;