diff --git a/hosts/common/default.nix b/hosts/common/default.nix index c39f112..698a0d1 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -49,9 +49,6 @@ in { defaultLocale = "en_GB.UTF-8"; }; - # The global useDHCP flag is deprecated, therefore explicitly set to false here. - # Per-interface useDHCP will be mandatory in the future, so this generated config - # replicates the default behaviour. networking.useDHCP = true; console = { diff --git a/hosts/pingbox/configuration.nix b/hosts/pingbox/configuration.nix index a93b66e..30c536a 100644 --- a/hosts/pingbox/configuration.nix +++ b/hosts/pingbox/configuration.nix @@ -33,6 +33,10 @@ networking = { hostName = "pingbox"; interfaces.wlp170s0.useDHCP = true; + wireless = { + enable = true; + userControlled.enable = true; + }; }; services = { diff --git a/hosts/pingbox/hardware-configuration.nix b/hosts/pingbox/hardware-configuration.nix index 9b7cccf..089123f 100644 --- a/hosts/pingbox/hardware-configuration.nix +++ b/hosts/pingbox/hardware-configuration.nix @@ -29,10 +29,6 @@ swapDevices = []; - # The global useDHCP flag is deprecated, therefore explicitly set to false here. - # Per-interface useDHCP will be mandatory in the future, so this generated config - # replicates the default behaviour. - networking.useDHCP = lib.mkDefault false; networking.interfaces.wlp170s0.useDHCP = lib.mkDefault true; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";