lib: Fix (again) issues with wireless

This commit is contained in:
PapaTutuWawa 2021-11-05 17:45:48 +01:00
parent 66fd0b41fd
commit d571efda1e
2 changed files with 1 additions and 5 deletions

View File

@ -41,7 +41,6 @@
};
hardware = {
intel.enable = true;
wifi.enable = true;
mobile.enable = true;
surface.enable = true;
};

View File

@ -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 = ''