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 {
enable = true;
};
wifiInterface = lib.mkIf wireless wifiInterface;
};
} // (if wireless then {
wifiInterface = wifiInterface;
} else {});
boot = {
loader = {