networkd: Fix disabled networkd units.
In f8dbe5f, the default value for networking unit "enabled" option
suddenly flipped to false. I have no idea of whether this happened by
accident, but I'm setting it to true again, because it essentially
breaks systemd networking support and we have systemd.network.enable to
have a "turn the world off" switch.
And of course, because the mentioned commit obviously wasn't done with
even a run of the simplest run of one of the network VM tests, we now
get an evaluation error if we switch useNetworkd to true.
Fixes the core issue of #7505.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
commit49fa00cded7bd3da0aa76cd2eb58e197084b820d
authoraszlig <aszlig@redmoonstudios.org>
dateThu 30 Apr 2015, 06:20 (12 years ago)
parent2efbbaa
nixos/modules/system/boot/networkd.nix+1−1
@@ -132,7 +132,7 @@ let
132132 commonNetworkOptions = {
133133
134134 enable = mkOption {
135− default = false;
135+ default = true;
136136 type = types.bool;
137137 description = ''
138138 Whether to manage network configuration using <command>systemd-network</command>.