1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-01 08:39:41 +01:00
nixos-hardware/asus/fx506hm/README.md
2024-05-26 08:44:07 +00:00

1.5 KiB

ASUS TUF Gaming F15 FX506HM (2021)

This imports common modules for the Intel CPU and iGPU, Nvidia and PRIME render offloading, basic laptop configs, basic SSD configs and configs for ASUS batteries.

On top of that, it sets the right PCI bus IDs for the iGPU and dGPU to make PRIME work well and enables modesetting.

Useful other things to consider in your configuration

Battery charging limit

Due to the common module for ASUS batteries, you can make your battery only charge up to a certain percentage to improve its life. You can place something similar to the following in your configuration to enable it:

hardware.asus.battery =
{
  chargeUpto             = 85;   # Maximum level of charge for your battery, as a percentage.
  enableChargeUptoScript = true; # Whether to add charge-upto to environment.systemPackages. `charge-upto 85` temporarily sets the charge limit to 85%.
};

OpenRGB

You can use OpenRGB to control the RGB keyboard on this laptop. There's also plugins for it to get some extra RGB lighting modes if you wish. You can place the following in your configuration to enable it:

boot.kernelModules               = [ "i2c-dev" ];
hardware.i2c.enable              = true;
services.udev.packages           = [ pkgs.openrgb ];
services.hardware.openrgb.enable = true;