diff --git a/modules/host.nix b/modules/host.nix index 90a2bb4..182106d 100644 --- a/modules/host.nix +++ b/modules/host.nix @@ -165,9 +165,9 @@ let bluetooth = lib.mkIf wireless { enable = true; }; - - wifiInterface = lib.mkIf wireless wifiInterface; - }; + } // (if wireless then { + wifiInterface = wifiInterface; + } else {}); boot = { loader = {