diff options
author | Karel Kočí <cynerd@email.cz> | 2023-01-16 21:17:02 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-01-16 21:17:02 +0100 |
commit | 1fa6424b36fc9bdbf13937a7f81f234b2114bbce (patch) | |
tree | 6dec4da7dab3e048004f0a23a4e1ce3557a4e302 /nixos | |
parent | 2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac (diff) | |
download | nixos-personal-1fa6424b36fc9bdbf13937a7f81f234b2114bbce.tar.gz nixos-personal-1fa6424b36fc9bdbf13937a7f81f234b2114bbce.tar.bz2 nixos-personal-1fa6424b36fc9bdbf13937a7f81f234b2114bbce.zip |
nixos: fix wifi interface name for Mox
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/machine/spt-mox.nix | 6 | ||||
-rw-r--r-- | nixos/machine/spt-mox2.nix | 6 |
2 files changed, 2 insertions, 10 deletions
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"; |