added: Default config for Acer Predator Helios 300

This commit is contained in:
mystic-neutron 2026-03-07 23:06:58 -05:00 committed by Jörg Thalheim
parent 41c6b421bd
commit 31817e8d9d
4 changed files with 56 additions and 0 deletions

View file

@ -87,6 +87,7 @@ See code for all available configurations.
| Model | Path | Flake Module |
| --------------------------------------------------------------------------------- | ------------------------------------------------------- | -------------------------------------- |
| [Acer Aspire 4810T](acer/aspire/4810t) | `<nixos-hardware/acer/aspire/4810t>` | `acer-aspire-4810t` |
| [Acer Predator Helios 300 (PH315-51)](acer/predator/helios/300/ph315-51/) | `<nixos-hardware/acer/predator/helios/300/ph315-51/>` | `acer-predator-helios-300-ph315-51` |
| [Airis N990](airis/n990) | `<nixos-hardware/airis/n990>` | `airis-n990` |
| [Apple iMac 12,2](apple/imac/12-2) | `<nixos-hardware/apple/imac/12-2>` | `apple-imac-12-2` |
| [Apple iMac 14.2](apple/imac/14-2) | `<nixos-hardware/apple/imac/14-2>` | `apple-imac-14-2` |

View file

@ -0,0 +1,7 @@
# Acer Predator Helios 300 (PH315-51)
## Hardware Configuration:
- Intel Core i5 (8th Gen) 8300H / 2.3 GHz
- NVIDIA GeForce GTX 1050 Ti
- 128GB SSD + 1TB HDD

View file

@ -0,0 +1,47 @@
{
lib,
...
}:
let
inherit (lib) mkDefault;
in
{
imports = [
../../../../../common/pc/laptop
../../../../../common/cpu/intel/coffee-lake
../../../../../common/gpu/nvidia/pascal
];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
"rtsx_pci_sdmmc"
];
boot.kernelModules = [ "kvm-intel" ];
hardware = {
graphics = {
enable = mkDefault true;
enable32Bit = mkDefault true;
};
nvidia = {
# Required to fix screen tearing with PRIME
modesetting.enable = mkDefault true;
open = mkDefault false;
nvidiaSettings = mkDefault true;
# Enable PRIME for hybrid graphics with sync mode
# Rendering is completely delegated to the dGPU
# iGPU only displays the rendered framebuffers copied from the dGPU.
prime = {
sync.enable = mkDefault true;
intelBusId = "PCI:0@0:2:0";
nvidiaBusId = "PCI:1@0:0:0";
};
};
};
}

View file

@ -46,6 +46,7 @@
in
{
acer-aspire-4810t = import ./acer/aspire/4810t;
acer-predator-helios-300-ph315-51 = import ./acer/predator/helios/300/ph315-51;
airis-n990 = import ./airis/n990;
aoostar-r1-n100 = import ./aoostar/r1/n100;
apple-imac-12-2 = import ./apple/imac/12-2;