nixos/cloud-init: Allow systemd.network to be enabled if cloud-init.network is disabled
This commit is contained in:
parent
1a5a6db46d
commit
33c55024dc
@ -163,7 +163,7 @@ in
|
||||
{ text = cfg.config; }
|
||||
;
|
||||
|
||||
systemd.network.enable = cfg.network.enable;
|
||||
systemd.network.enable = mkIf cfg.network.enable true;
|
||||
|
||||
systemd.services.cloud-init-local = {
|
||||
description = "Initial cloud-init job (pre-networking)";
|
||||
|
Loading…
Reference in New Issue
Block a user