lib: Fix (again) issues with wireless
This commit is contained in:
parent
66fd0b41fd
commit
d571efda1e
@ -41,7 +41,6 @@
|
||||
};
|
||||
hardware = {
|
||||
intel.enable = true;
|
||||
wifi.enable = true;
|
||||
mobile.enable = true;
|
||||
surface.enable = true;
|
||||
};
|
||||
|
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user