diff options
author | Franck Cuny <franck@fcuny.net> | 2022-03-04 19:06:05 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-03-04 19:06:05 -0800 |
commit | 329ca7b9f161306386f3d8174ba8c61b4cc1237c (patch) | |
tree | c55914cb3d7c4dec5734fa9e83f35d7c3521bced /hosts | |
parent | scan-print: tools for scanning and printing (diff) | |
download | world-329ca7b9f161306386f3d8174ba8c61b4cc1237c.tar.gz |
aptos: nixfmt
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/aptos/default.nix | 27 |
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 ''; }; }; |