about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2023-09-28 22:03:28 +0100
committerThiago Kenji Okada <thiagokokada@gmail.com>2023-09-28 22:05:34 +0100
commite514178339da1b3bfb32d48c192bbc3dfffc6bd1 (patch)
treeaff58923006bd588d557e38a28c89ecf24ee1234 /nixos/modules/virtualisation
parentc5aab8968dc91f0003fa894c94e2620770f2801d (diff)
downloadnixlib-e514178339da1b3bfb32d48c192bbc3dfffc6bd1.tar
nixlib-e514178339da1b3bfb32d48c192bbc3dfffc6bd1.tar.gz
nixlib-e514178339da1b3bfb32d48c192bbc3dfffc6bd1.tar.bz2
nixlib-e514178339da1b3bfb32d48c192bbc3dfffc6bd1.tar.lz
nixlib-e514178339da1b3bfb32d48c192bbc3dfffc6bd1.tar.xz
nixlib-e514178339da1b3bfb32d48c192bbc3dfffc6bd1.tar.zst
nixlib-e514178339da1b3bfb32d48c192bbc3dfffc6bd1.zip
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.
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r--nixos/modules/virtualisation/oci-common.nix2
1 files changed, 1 insertions, 1 deletions
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;
 }