about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/aptos/default.nix27
1 files changed, 10 insertions, 17 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix
index 342e88d..e7264f5 100644
--- a/hosts/aptos/default.nix
+++ b/hosts/aptos/default.nix
@@ -1,18 +1,13 @@
 { config, pkgs, hostname, ... }:
 
 {
-  imports =
-    [ # Include the results of the hardware scan.
-      ./hardware-configuration.nix
-      ../common/desktop
-      ../common/hardware/xps9300.nix
-    ];
+  imports = [ # Include the results of the hardware scan.
+    ./hardware-configuration.nix
+    ../common/desktop
+    ../common/hardware/xps9300.nix
+  ];
 
-  boot = {
-    initrd = {
-      luks.devices."system".allowDiscards = true;
-    };
-  };
+  boot = { initrd = { luks.devices."system".allowDiscards = true; }; };
 
   # Use systemd-networkd for networking
   systemd.network = {
@@ -20,13 +15,11 @@
     networks = {
       wlan0 = {
         matchConfig.Name = "wlan0";
-        networkConfig = {
-          DHCP = "yes";
-        };
+        networkConfig = { DHCP = "yes"; };
         extraConfig = ''
-         [DHCPv4]
-         UseDNS=yes
-         UseDomains=yes
+          [DHCPv4]
+          UseDNS=yes
+          UseDomains=yes
         '';
       };
     };