diff --git a/hosts/mashu.nix b/hosts/mashu.nix index bbe0eee..8bea813 100644 --- a/hosts/mashu.nix +++ b/hosts/mashu.nix @@ -41,7 +41,6 @@ }; hardware = { intel.enable = true; - wifi.enable = true; mobile.enable = true; surface.enable = true; }; diff --git a/lib/baseSystem.nix b/lib/baseSystem.nix index c1dff50..01ffbbe 100644 --- a/lib/baseSystem.nix +++ b/lib/baseSystem.nix @@ -38,7 +38,6 @@ in { #interfaces.*.useDHCP = false; hostName = config.ptw.system.hostName; - wireless.enable = (if wireless then true else lib.mkForce false); hosts = lib.mkIf (!isVM) { "${network.miku}" = [ "miku.local" ]; "${network.nishimiya}" = [ "nishimiya.local" ]; @@ -157,9 +156,7 @@ in { bluetooth = lib.mkIf wireless { enable = true; }; - } // (if wireless then { - wifiInterface = primaryInterface; - } else {}); + }; nix.package = pkgs.nixUnstable; nix.extraOptions = ''