From e514178339da1b3bfb32d48c192bbc3dfffc6bd1 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Thu, 28 Sep 2023 22:03:28 +0100 Subject: [PATCH] nixos/virtualisation: use mkDefault in networking.useNetworkd in oci-common To make it easier to disable for those folks who don't want to use systemd-networkd. --- nixos/modules/virtualisation/oci-common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/oci-common.nix b/nixos/modules/virtualisation/oci-common.nix index ac9405e3ecfa..a620df063151 100644 --- a/nixos/modules/virtualisation/oci-common.nix +++ b/nixos/modules/virtualisation/oci-common.nix @@ -56,5 +56,5 @@ in # Otherwise the instance may not have a working network-online.target, # making the fetch-ssh-keys.service fail - networking.useNetworkd = true; + networking.useNetworkd = lib.mkDefault true; }