ASUS TUF FA507NV added.
This commit is contained in:
parent
cdbb5bb040
commit
0cbc36e245
|
@ -95,6 +95,7 @@ See code for all available configurations.
|
|||
| [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `<nixos-hardware/asus/zephyrus/gu603h>` |
|
||||
| [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` |
|
||||
| [Asus TUF FA507RM](asus/fa507rm) | `<nixos-hardware/asus/fa507rm>` |
|
||||
| [Asus TUF FA507NV](asus/fa507nv) | `<nixos-hardware/asus/fa507nv>` |
|
||||
| [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` |
|
||||
| [Deciso DEC series](deciso/dec) | `<nixos-hardware/deciso/dec>` |
|
||||
| [Dell G3 3779](dell/g3/3779) | `<nixos-hardware/dell/g3/3779>` |
|
||||
|
|
2
asus/fa507nv/README.md
Normal file
2
asus/fa507nv/README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ASUS TUF A15 FA507NV
|
||||
As Nvidia offload is not available for AMD CPU, nvidia prime is using sync. Additionally the kernel is set to latest as the keyboard and wireless drivers does not work in the default LTS kernel.
|
21
asus/fa507nv/default.nix
Normal file
21
asus/fa507nv/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../common/cpu/amd
|
||||
../../common/cpu/amd/raphael/igpu.nix
|
||||
../../common/cpu/amd/pstate.nix
|
||||
../../common/gpu/nvidia
|
||||
../../common/gpu/nvidia/prime-sync.nix
|
||||
../../common/hidpi.nix
|
||||
../../common/pc/laptop
|
||||
../../common/pc/ssd
|
||||
];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
amdgpuBusId = "PCI:54:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
}
|
10
common/gpu/nvidia/prime-sync.nix
Normal file
10
common/gpu/nvidia/prime-sync.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./. ];
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
# For people who want to use sync insted of offload. Esipecially for AMD CPU users
|
||||
sync.enable = lib.mkOverride 990 true;
|
||||
};
|
||||
}
|
|
@ -18,6 +18,7 @@
|
|||
asus-battery = import ./asus/battery.nix;
|
||||
asus-ally-rc71l = import ./asus/ally/rc71l;
|
||||
asus-fx504gd = import ./asus/fx504gd;
|
||||
asus-fa507nv = import ./asus/fa507nv;
|
||||
asus-fa507rm = import ./asus/fa507rm;
|
||||
asus-pro-ws-x570-ace = import ./asus/pro-ws-x570-ace;
|
||||
asus-rog-strix-g513im = import ./asus/rog-strix/g513im;
|
||||
|
@ -249,6 +250,7 @@
|
|||
common-gpu-intel = import ./common/gpu/intel;
|
||||
common-gpu-intel-disable = import ./common/gpu/intel/disable.nix;
|
||||
common-gpu-nvidia = import ./common/gpu/nvidia/prime.nix;
|
||||
common-gpu-nvidia-sync = import ./common/gpu/nvidia/prime-sync.nix;
|
||||
common-gpu-nvidia-nonprime = import ./common/gpu/nvidia;
|
||||
common-gpu-nvidia-disable = import ./common/gpu/nvidia/disable.nix;
|
||||
common-hidpi = import ./common/hidpi.nix;
|
||||
|
|
Loading…
Reference in a new issue