forked from poz/niksos
feat: add asusd
This commit is contained in:
parent
5ac326442d
commit
ce5f8da3f7
2 changed files with 20 additions and 0 deletions
19
hosts/niks/asusd.nix
Normal file
19
hosts/niks/asusd.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.asusd = {
|
||||
enable = true;
|
||||
enableUserService = true;
|
||||
asusdConfig = ''
|
||||
(
|
||||
bat_charge_limit: 90,
|
||||
panel_od: true,
|
||||
mini_led_mode: true,
|
||||
disable_nvidia_powerd_on_battery: true,
|
||||
ac_command: "${pkgs.asusctl}/bin/asusctl profile -P Performance",
|
||||
bat_command: "${pkgs.asusctl}/bin/asusctl profile -P Quiet",
|
||||
)
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./asusd.nix
|
||||
./configuration.nix
|
||||
./greetd.nix
|
||||
./hardware-configuration.nix
|
||||
|
|
Loading…
Reference in a new issue