diff --git a/README.md b/README.md index a0b0465..ee3c49e 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ See code for all available configurations. | [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `` | | [Asus TUF FX504GD](asus/fx504gd) | `` | | [Asus TUF FX506HM](asus/fx506hm) | `` | +| [Asus TUF FA506IC](asus/fa506ic) | `` | | [Asus TUF FA507RM](asus/fa507rm) | `` | | [Asus TUF FA507NV](asus/fa507nv) | `` | | [Asus Zenbook Flip S13 UX371](asus/zenbook/ux371/) | `` | diff --git a/asus/fa506ic/default.nix b/asus/fa506ic/default.nix new file mode 100644 index 0000000..10d08fb --- /dev/null +++ b/asus/fa506ic/default.nix @@ -0,0 +1,33 @@ +{ lib, ... }: + +{ + imports = [ + ../../common/cpu/amd + ../../common/cpu/amd/pstate.nix + ../../common/gpu/amd + ../../common/gpu/nvidia/prime.nix + ../../common/gpu/nvidia/ampere + ../../common/pc/laptop + ../../common/pc/laptop/ssd + ]; + + hardware.nvidia = { + modesetting.enable = lib.mkDefault true; + open = lib.mkDefault false; + nvidiaSettings = lib.mkDefault true; + dynamicBoost.enable = lib.mkDefault true; + + prime = { + amdgpuBusId = "PCI:0:6:0"; + nvidiaBusId = "PCI:0:1:0"; + }; + }; + + services = { + asusd = { + enable = lib.mkDefault true; + enableUserService = lib.mkDefault true; + }; + supergfxd.enable = lib.mkDefault true; + }; +} diff --git a/flake.nix b/flake.nix index 44bedb0..3e64427 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,7 @@ asus-ally-rc71l = import ./asus/ally/rc71l; asus-fx504gd = import ./asus/fx504gd; asus-fx506hm = import ./asus/fx506hm; + asus-fa506ic = import ./asus/fa506ic; asus-fa507nv = import ./asus/fa507nv; asus-fa507rm = import ./asus/fa507rm; asus-pro-ws-x570-ace = import ./asus/pro-ws-x570-ace;