We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d0e205e + cbbb0f7 commit 505386dCopy full SHA for 505386d
modules/nixos/networking/default.nix
@@ -6,7 +6,7 @@
6
];
7
8
options.facter.detected.dhcp.enable = lib.mkEnableOption "Facter dhcp module" // {
9
- default = builtins.length config.facter.report.network_interface or [ ] > 0;
+ default = builtins.length config.facter.report.hardware.network_interface or [ ] > 0;
10
};
11
config = lib.mkIf config.facter.detected.dhcp.enable {
12
networking.useDHCP = lib.mkDefault true;
0 commit comments