diff --git a/modules/nixos/networking/default.nix b/modules/nixos/networking/default.nix index e80408b..2ebe00a 100644 --- a/modules/nixos/networking/default.nix +++ b/modules/nixos/networking/default.nix @@ -6,7 +6,7 @@ ]; options.facter.detected.dhcp.enable = lib.mkEnableOption "Facter dhcp module" // { - default = builtins.length config.facter.report.network_interface or [ ] > 0; + default = builtins.length config.facter.report.hardware.network_interface or [ ] > 0; }; config = lib.mkIf config.facter.detected.dhcp.enable { networking.useDHCP = lib.mkDefault true;