1 { config, lib, pkgs, ... }:
4 cfg = config.programs.rog-control-center;
8 programs.rog-control-center = {
9 enable = lib.mkEnableOption "the rog-control-center application";
11 autoStart = lib.mkOption {
13 type = lib.types.bool;
14 description = "Whether rog-control-center should be started automatically.";
19 config = lib.mkIf cfg.enable {
20 environment.systemPackages = [
22 (lib.mkIf cfg.autoStart (pkgs.makeAutostartItem { name = "rog-control-center"; package = pkgs.asusctl; }))
25 services.asusd.enable = true;
28 meta.maintainers = pkgs.asusctl.meta.maintainers;