dotfiles/common/laptop.nix

21 lines
360 B
Nix
Raw Permalink Normal View History

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