about summary refs log tree commit diff
path: root/hosts/aptos/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/aptos/default.nix')
-rw-r--r--hosts/aptos/default.nix21
1 files changed, 1 insertions, 20 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix
index 95f4b81..b596f30 100644
--- a/hosts/aptos/default.nix
+++ b/hosts/aptos/default.nix
@@ -4,8 +4,8 @@
   imports = [ # Include the results of the hardware scan.
     ./hardware-configuration.nix
     ./sound.nix
+    ./networking.nix
     ../common/desktop
-    ../common/system/tailscale.nix
     ../common/hardware/xps9300.nix
   ];
 
@@ -22,25 +22,6 @@
     };
   };
 
-  # Use systemd-networkd for networking
-  systemd.network = {
-    enable = true;
-    networks = {
-      wlan0 = {
-        matchConfig.Name = "wlan0";
-        networkConfig = { DHCP = "yes"; };
-        extraConfig = ''
-          [DHCPv4]
-          UseDNS=yes
-          UseDomains=yes
-        '';
-      };
-    };
-  };
-
-  networking.wireless.iwd.enable = true;
-  networking.private-wireguard.enable = true;
-
   services.thermald.enable = true;
 
   # This value determines the NixOS release from which the default