From 129e0a32b3b773461fffbd909cb75a8a0ccf84a8 Mon Sep 17 00:00:00 2001 From: Chaos Date: Wed, 14 Dec 2022 16:42:46 +0000 Subject: [PATCH] mkForce on systemd-networkd-wait-online for some reason ? --- hosts/buildbox/networking.nix | 4 ++-- hosts/hetzner-vm/networking.nix | 4 ++-- hosts/storage/networking.nix | 4 ++-- hosts/vault/networking.nix | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hosts/buildbox/networking.nix b/hosts/buildbox/networking.nix index 03b7073..245ba69 100644 --- a/hosts/buildbox/networking.nix +++ b/hosts/buildbox/networking.nix @@ -1,5 +1,5 @@ -{...}: { - systemd.services.systemd-networkd-wait-online.enable = false; +{lib, ...}: { + systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false; networking = { resolvconf.useLocalResolver = false; diff --git a/hosts/hetzner-vm/networking.nix b/hosts/hetzner-vm/networking.nix index 7e7d088..7be5760 100644 --- a/hosts/hetzner-vm/networking.nix +++ b/hosts/hetzner-vm/networking.nix @@ -1,5 +1,5 @@ -{...}: { - systemd.services.systemd-networkd-wait-online.enable = false; +{lib, ...}: { + systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false; networking.firewall.enable = true; networking.firewall.allowPing = true; diff --git a/hosts/storage/networking.nix b/hosts/storage/networking.nix index 924f816..e530356 100644 --- a/hosts/storage/networking.nix +++ b/hosts/storage/networking.nix @@ -1,5 +1,5 @@ -{...}: { - systemd.services.systemd-networkd-wait-online.enable = false; +{lib, ...}: { + systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false; networking.firewall.enable = true; networking.firewall.allowPing = true; diff --git a/hosts/vault/networking.nix b/hosts/vault/networking.nix index 006bb76..4b39839 100644 --- a/hosts/vault/networking.nix +++ b/hosts/vault/networking.nix @@ -1,5 +1,5 @@ -{...}: { - systemd.services.systemd-networkd-wait-online.enable = false; +{lib, ...}: { + systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false; networking.firewall.enable = true; networking.firewall.allowPing = true;