blob: f5288b6c38ac1acdfb874cefe1303cb0f299b391 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ 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;
};
}
|