aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/machine')
-rw-r--r--nixos/machine/spt-mox.nix6
-rw-r--r--nixos/machine/spt-mox2.nix6
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";