From 1fa6424b36fc9bdbf13937a7f81f234b2114bbce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 16 Jan 2023 21:17:02 +0100 Subject: nixos: fix wifi interface name for Mox --- nixos/machine/spt-mox.nix | 6 +----- nixos/machine/spt-mox2.nix | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'nixos') diff --git a/nixos/machine/spt-mox.nix b/nixos/machine/spt-mox.nix index 3ada201..d79da46 100644 --- a/nixos/machine/spt-mox.nix +++ b/nixos/machine/spt-mox.nix @@ -9,15 +9,11 @@ with lib; { config = { cynerd.home-assistant = true; - environment.systemPackages = with pkgs; [ - mosquitto - ]; - networking.wirelessAP = { enable = true; environmentFile = "/run/secrets/hostapd.env"; interfaces = { - "wlp4s0" = { + "wls1" = { countryCode = "CZ"; channel = 7; hwMode = "g"; diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix index 8ecf1ad..68cba29 100644 --- a/nixos/machine/spt-mox2.nix +++ b/nixos/machine/spt-mox2.nix @@ -6,10 +6,6 @@ }: with lib; { config = { - boot.kernelParams = [ - "pcie_aspm=off" # Fix for crashes due to SError Interrupt on ath10k load - ]; - swapDevices = [ { device = "/dev/disk/by-partlabel/NixTurrisSwap"; @@ -21,7 +17,7 @@ with lib; { enable = true; environmentFile = "/run/secrets/hostapd.env"; interfaces = { - "wlp1s0" = { + "wls1" = { countryCode = "CZ"; channel = 7; hwMode = "g"; -- cgit v1.2.3