blob: 9ebfeb970a46772ed1a1316a9c68cdc4092bbeb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ lib, config, pkgs, ... }:
{
options = {
this.laptop.enable = lib.mkEnableOption "laptop settings";
};
config = lib.mkIf config.this.laptop.enable {
powerManagement.enable = true;
services.tlp.enable = true;
programs.light = {
enable = true;
brightnessKeys.enable = true;
};
environment.systemPackages = with pkgs; [
acpi
];
};
}
|