about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-21 08:35:07 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-21 08:43:36 -0800
commitc665eef675bd51542f24ed56e896951aabc2fe8f (patch)
tree1fd15ea9fae6884bf8b1423d5e22da531b5424f1 /hosts
parentsway: switch to i3status and set keybindings (diff)
downloadworld-c665eef675bd51542f24ed56e896951aabc2fe8f.tar.gz
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.
Diffstat (limited to '')
-rw-r--r--hosts/aptos/default.nix8
1 files 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