]> Git — Sourcephile - sourcephile-nix.git/commitdiff
losurdo: hostapd: fix missing channel main
authorJulien Moutinho <julm+sourcephile-nix@sourcephile.fr>
Thu, 20 Feb 2025 20:44:34 +0000 (21:44 +0100)
committerJulien Moutinho <julm+sourcephile-nix@sourcephile.fr>
Thu, 20 Feb 2025 20:44:34 +0000 (21:44 +0100)
hosts/losurdo/networking/wireless.nix

index f148bf0ff4c9742401e13a884094bcc21f88bc4a..c8b1264d46c6fbfcc21449733ebba6edbf575a96 100644 (file)
@@ -3,8 +3,8 @@ let
   wifiIface = "wlp4s0";
   wifiIPv4 = "192.168.2";
   gwIface = "enp5s0";
-  #gwIface = config.networking.defaultGateway.interface;
 in
+#gwIface = config.networking.defaultGateway.interface;
 {
   systemd.network.networks = {
     "10-${wifiIface}" = {
@@ -77,6 +77,7 @@ in
     radios = {
       ${wifiIface} = {
         band = "2g";
+        channel = 1;
         countryCode = "FR";
         networks.${wifiIface} = {
           ssid = "bureau1";