about summary refs log tree commit diff
path: root/hosts/aptos
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-09 08:59:19 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-09 09:32:12 -0700
commit81803c53723b939a15eaf01af178ecc4364a9549 (patch)
tree0fa557cedf76d41995ef23735c1bcc2ab44cf6bd /hosts/aptos
parentref(bluetooth): remove the profile (diff)
downloadworld-81803c53723b939a15eaf01af178ecc4364a9549.tar.gz
ref(laptop): move services related to laptop to host's configuration
As for the bluetooth configuration, we don't need that level of
indirection. The laptop can consume these services directly, and we can
drop the profile for laptop.

Change-Id: Ia434d336ae581bd040fbc4963e5856806183d55e
Reviewed-on: https://cl.fcuny.net/c/world/+/290
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r--hosts/aptos/profile.nix2
-rw-r--r--hosts/aptos/services.nix6
2 files changed, 6 insertions, 2 deletions
diff --git a/hosts/aptos/profile.nix b/hosts/aptos/profile.nix
index 1ba221e..58bb296 100644
--- a/hosts/aptos/profile.nix
+++ b/hosts/aptos/profile.nix
@@ -4,8 +4,6 @@
   hardware.sane.enable = true;
 
   my.profiles = {
-    # Laptop specific configuration
-    laptop.enable = true;
     desktop.enable = true;
     multimedia.enable = true;
     trusted.enable = true;
diff --git a/hosts/aptos/services.nix b/hosts/aptos/services.nix
index a2210e2..5e98947 100644
--- a/hosts/aptos/services.nix
+++ b/hosts/aptos/services.nix
@@ -2,6 +2,12 @@
 let secrets = config.age.secrets;
 in {
   my.services = {
+    # monitors and controls temperature
+    thermald.enable = true;
+
+    # Enable TLP power management
+    tlp.enable = true;
+
     backup = {
       enable = true;
       user = "fcuny";