From cbbb0f780bddc5648ca4ee33a6c788e07c971776 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Tue, 12 Nov 2024 14:04:52 +0100 Subject: [PATCH] networking: fix incorrect report path for network_interfaces --- modules/nixos/networking/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;