modules.hardware.asus: fix

This commit is contained in:
2025-10-24 14:22:20 +08:00
parent ce99d848b5
commit 58e380eb73
2 changed files with 30 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
(
charge_control_end_threshold: 100,
disable_nvidia_powerd_on_battery: true,
ac_command: "",
bat_command: "",
platform_profile_linked_epp: true,
platform_profile_on_battery: Quiet,
change_platform_profile_on_battery: false,
platform_profile_on_ac: Performance,
change_platform_profile_on_ac: false,
profile_quiet_epp: Power,
profile_balanced_epp: Performance,
profile_custom_epp: Performance,
profile_performance_epp: Performance,
ac_profile_tunings: {
Performance: (
enabled: false,
group: {},
),
},
dc_profile_tunings: {
Balanced: (
enabled: false,
group: {},
),
},
armoury_settings: {},
)

View File

@@ -4,7 +4,7 @@ inputs:
{ type = types.nullOr (types.submodule {}); default = null; };
config = let inherit (inputs.config.nixos.hardware) asus; in inputs.lib.mkIf (asus != null)
{
services.asusd = { enable = true; enableUserService = true; };
programs.rog-control-center.enable = true;
services.asusd = { enable = true; enableUserService = true; asusdConfig.source = ./asusd.ron; };
programs.rog-control-center = { enable = true; autoStart = true; };
};
}