From 66ddcf02704915e4b18c65e06cb02a29af379601 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Mon, 6 Sep 2021 15:45:23 +0200 Subject: [PATCH] host: Fix issue when wifi.nix is not imported --- modules/host.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 = {