nixos/common/laptop.nix
Ivan Bushchik 86b8eed465
Add some comments, fix vetus and celerrime
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-08-23 09:38:48 +03:00

22 lines
414 B
Nix

{ config, pkgs, lib, ... }:
let
cfg = config.my.laptop;
in {
options = {
my.laptop.enable = lib.mkEnableOption "Laptop-specific configuration";
};
config = lib.mkIf (cfg.enable) {
environment.systemPackages = with pkgs; [
lm_sensors
];
hardware.bluetooth.enable = true;
services.blueman.enable = true;
services.tlp.enable = true;
services.upower.enable = true;
};
}