about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to '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; [
   ];
 }