about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-08-12 00:36:36 +0200
committerBaitinq <[email protected]>2025-08-12 00:36:36 +0200
commita22a8ee8b684e8e19cbc12e1d325bcd6e64e7046 (patch)
treec7f11d7878d99390b92c89813c2aecf5c74e5956
parentHome: Install gemini cli (diff)
downloadnixos-config-a22a8ee8b684e8e19cbc12e1d325bcd6e64e7046.tar.gz
nixos-config-a22a8ee8b684e8e19cbc12e1d325bcd6e64e7046.tar.bz2
nixos-config-a22a8ee8b684e8e19cbc12e1d325bcd6e64e7046.zip
Hosts: Enable wifi for all hosts
-rw-r--r--hosts/configuration.nix4
-rw-r--r--hosts/luna/default.nix12
2 files changed, 4 insertions, 12 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index 6cf35f2..740d223 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -61,6 +61,10 @@
       # networking.firewall.allowedUDPPorts = [ ... ];
       # Or disable the firewall altogether.
     };
+    wireless = {
+      enable = true; # Enables wireless support via wpa_supplicant.
+      networks = secrets.wifi_networks;
+    };
   };
 
   # Select internationalisation properties.
diff --git a/hosts/luna/default.nix b/hosts/luna/default.nix
index 0bb60f6..a7482ab 100644
--- a/hosts/luna/default.nix
+++ b/hosts/luna/default.nix
@@ -19,18 +19,6 @@
     '';
   };
 
-  # Pick only one of the below networking options.
-  networking = {
-    wireless = {
-      enable = true; # Enables wireless support via wpa_supplicant.
-      networks = secrets.wifi_networks;
-    };
-    # networkmanager.enable = true;  # Easiest to use and most distros use this by default.
-    # Configure network proxy if necessary
-    # proxy.default = "http://user:password@proxy:port/";
-    # proxy.noProxy = "127.0.0.1,localhost,internal.domain";
-  };
-
   environment.systemPackages = with pkgs; [
   ];
 }