From 329ca7b9f161306386f3d8174ba8c61b4cc1237c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 4 Mar 2022 19:06:05 -0800 Subject: aptos: nixfmt --- hosts/aptos/default.nix | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) (limited to 'hosts') 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 ''; }; }; -- cgit 1.4.1