diff --git a/README.md b/README.md index a239618..d420276 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ See code for all available configurations. | [Apple MacBook Pro 14,1](apple/macbook-pro/14-1) | `` | | [Asus ROG Strix G733QS](asus/rog-strix/g733qs) | `` | | [Asus ROG Zephyrus G14 GA401](asus/zephyrus/ga401) | `` | +| [Asus ROG Zephyrus G14 GA402](asus/zephyrus/ga402) | `` | | [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `` | | [Asus TUF FX504GD](asus/fx504gd) | `` | | [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `` | diff --git a/asus/zephyrus/ga402/default.nix b/asus/zephyrus/ga402/default.nix new file mode 100644 index 0000000..3d666af --- /dev/null +++ b/asus/zephyrus/ga402/default.nix @@ -0,0 +1,19 @@ +{ lib, ... }: + +{ + imports = [ + ../../../common/cpu/amd + ../../../common/cpu/amd/pstate.nix + ../../../common/gpu/amd + ../../../common/pc/laptop + ../../../common/pc/laptop/ssd + ]; + + services = { + asusd.enable = lib.mkDefault true; + }; + + boot = { + kernelParams = [ "pcie_aspm.policy=powersupersave" "acpi.prefer_microsoft_dsm_guid=1" ]; + }; +} diff --git a/flake.nix b/flake.nix index 602d2dc..5c4f4c9 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,7 @@ asus-fx504gd = import ./asus/fx504gd; asus-rog-strix-g733qs = import ./asus/rog-strix/g733qs; asus-zephyrus-ga401 = import ./asus/zephyrus/ga401; + asus-zephyrus-ga402 = import ./asus/zephyrus/ga402; asus-zephyrus-ga503 = import ./asus/zephyrus/ga503; beagleboard-pocketbeagle = import ./beagleboard/pocketbeagle; dell-e7240 = import ./dell/e7240;