summary refs log tree commit diff
path: root/nixos/modules/system/boot/networkd.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-04-30 06:20:54 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-04-30 06:49:10 +0200
commit49fa00cded7bd3da0aa76cd2eb58e197084b820d (patch)
tree10be984674d43fb2f28c0491e190c220cf02e0c5 /nixos/modules/system/boot/networkd.nix
parent2efbbaaa8645e8d0cfc9deb0fe808275a7ac7aa3 (diff)
downloadnixpkgs-49fa00cded7bd3da0aa76cd2eb58e197084b820d.tar
nixpkgs-49fa00cded7bd3da0aa76cd2eb58e197084b820d.tar.gz
nixpkgs-49fa00cded7bd3da0aa76cd2eb58e197084b820d.tar.bz2
nixpkgs-49fa00cded7bd3da0aa76cd2eb58e197084b820d.tar.lz
nixpkgs-49fa00cded7bd3da0aa76cd2eb58e197084b820d.tar.xz
nixpkgs-49fa00cded7bd3da0aa76cd2eb58e197084b820d.tar.zst
nixpkgs-49fa00cded7bd3da0aa76cd2eb58e197084b820d.zip
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>
Diffstat (limited to 'nixos/modules/system/boot/networkd.nix')
-rw-r--r--nixos/modules/system/boot/networkd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index 0221374ab83..e83aa6e2e2d 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -132,7 +132,7 @@ let
   commonNetworkOptions = {
 
     enable = mkOption {
-      default = false;
+      default = true;
       type = types.bool;
       description = ''
         Whether to manage network configuration using <command>systemd-network</command>.