mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:09:24 +08:00
modules.hardware.asus: fix
This commit is contained in:
28
modules/hardware/asus/asusd.ron
Normal file
28
modules/hardware/asus/asusd.ron
Normal 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: {},
|
||||
)
|
||||
@@ -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; };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user