dotfiles/common/laptop.nix

21 lines
360 B
Nix
Raw Normal View History

2024-08-02 14:09:42 +02:00
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.shelman.podman;
in
{
options.shelman.laptop.enable = mkEnableOption "Laptop tools and configuration";
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ gnomeExtensions.battery-health-charging ];
services.fprintd.enable = true;
};
}