From c665eef675bd51542f24ed56e896951aabc2fe8f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 21 Feb 2022 08:35:07 -0800 Subject: aptos: switch to iwd and enable thermald Replace wpa_supplicant with iwd (I prefer that daemon and the associated tool, iwctl). Enable thermald for managing power. --- hosts/aptos/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix index 7501853..64da2a5 100644 --- a/hosts/aptos/default.nix +++ b/hosts/aptos/default.nix @@ -17,8 +17,8 @@ systemd.network = { enable = true; networks = { - wlp0s20f3 = { - matchConfig.Name = "wlp0s20f3"; + wlan0 = { + matchConfig.Name = "wlan0"; networkConfig = { DHCP = "yes"; }; @@ -31,7 +31,9 @@ }; }; - networking.wireless.enable = true; + networking.wireless.iwd.enable = true; + + services.thermald.enable = true; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions -- cgit 1.4.1