host: Fix issue when wifi.nix is not imported

This commit is contained in:
PapaTutuWawa 2021-09-06 15:45:23 +02:00
parent c2d5eb7cf0
commit 66ddcf0270

View File

@ -165,9 +165,9 @@ let
bluetooth = lib.mkIf wireless { bluetooth = lib.mkIf wireless {
enable = true; enable = true;
}; };
} // (if wireless then {
wifiInterface = lib.mkIf wireless wifiInterface; wifiInterface = wifiInterface;
}; } else {});
boot = { boot = {
loader = { loader = {