stroopwafel/dhcp: enable dhcp for wifi device

This commit is contained in:
Benjamin Bädorf 2024-01-28 00:56:27 +01:00
parent d34dac1a13
commit 3299b75f14
No known key found for this signature in database
GPG key ID: 1B7BF5B77A521346

View file

@ -48,9 +48,8 @@
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction # still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.interfaces.enp6s0f3u1u4.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
networking.interfaces.enp6s0f4u1u4.useDHCP = lib.mkDefault true; networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;