about summary refs log tree commit diff
path: root/hosts/aptos
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-04 19:06:05 -0800
committerFranck Cuny <franck@fcuny.net>2022-03-04 19:06:05 -0800
commit329ca7b9f161306386f3d8174ba8c61b4cc1237c (patch)
treec55914cb3d7c4dec5734fa9e83f35d7c3521bced /hosts/aptos
parentscan-print: tools for scanning and printing (diff)
downloadworld-329ca7b9f161306386f3d8174ba8c61b4cc1237c.tar.gz
aptos: nixfmt
Diffstat (limited to 'hosts/aptos')
-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
         '';
       };
     };