about summary refs log tree commit diff
path: root/profiles
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 /profiles
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 'profiles')
-rw-r--r--profiles/default.nix2
-rw-r--r--profiles/laptop/default.nix15
2 files changed, 1 insertions, 16 deletions
diff --git a/profiles/default.nix b/profiles/default.nix
index 9c0d2f9..df86fe6 100644
--- a/profiles/default.nix
+++ b/profiles/default.nix
@@ -1 +1 @@
-{ ... }: { imports = [ ./laptop ./gtk ./trusted ./wm ./desktop ./multimedia ]; }
+{ ... }: { imports = [ ./gtk ./trusted ./wm ./desktop ./multimedia ]; }
diff --git a/profiles/laptop/default.nix b/profiles/laptop/default.nix
deleted file mode 100644
index f5288b6..0000000
--- a/profiles/laptop/default.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ config, lib, ... }:
-let cfg = config.my.profiles.laptop;
-in {
-  options.my.profiles.laptop = with lib; {
-    enable = mkEnableOption "laptop profile";
-  };
-
-  config = lib.mkIf cfg.enable {
-    # monitors and controls temperature
-    my.services.thermald.enable = true;
-
-    # Enable TLP power management
-    my.services.tlp.enable = true;
-  };
-}