diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-09-21 22:05:52 +0100 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-09-21 22:57:39 +0100 |
commit | cd67657ae2dfcf2634e983030b544638ef9beb1b (patch) | |
tree | 7b40431ca1fe5ee0e8fca7219c79dfc9d224c5f4 /nixos/modules/virtualisation | |
parent | 5eae6db9e330856e0799429c4496d3edd5f1271b (diff) | |
download | nixlib-cd67657ae2dfcf2634e983030b544638ef9beb1b.tar nixlib-cd67657ae2dfcf2634e983030b544638ef9beb1b.tar.gz nixlib-cd67657ae2dfcf2634e983030b544638ef9beb1b.tar.bz2 nixlib-cd67657ae2dfcf2634e983030b544638ef9beb1b.tar.lz nixlib-cd67657ae2dfcf2634e983030b544638ef9beb1b.tar.xz nixlib-cd67657ae2dfcf2634e983030b544638ef9beb1b.tar.zst nixlib-cd67657ae2dfcf2634e983030b544638ef9beb1b.zip |
nixos/virtualisation: use systemd-networkd for OCI
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/oci-common.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/oci-common.nix b/nixos/modules/virtualisation/oci-common.nix index 19e4c9fa898b..ac9405e3ecfa 100644 --- a/nixos/modules/virtualisation/oci-common.nix +++ b/nixos/modules/virtualisation/oci-common.nix @@ -53,4 +53,8 @@ in networking.timeServers = [ "169.254.169.254" ]; services.openssh.enable = true; + + # Otherwise the instance may not have a working network-online.target, + # making the fetch-ssh-keys.service fail + networking.useNetworkd = true; } |