1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-22 19:09:42 +01:00

feat: add galp5-1650

This commit is contained in:
Aaron Honeycutt 2024-09-14 18:30:24 -06:00 committed by mergify[bot]
parent 21a769ae60
commit d830ad47cc
3 changed files with 30 additions and 1 deletions

View file

@ -328,7 +328,8 @@ See code for all available configurations.
| [Supermicro X12SCZ-TLN4F](supermicro/x12scz-tln4f) | `<nixos-hardware/supermicro/x12scz-tln4f>` |
| [System76 (generic)](system76) | `<nixos-hardware/system76>` |
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` |
| [System76 Gazelle Gaze18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` |
| [System76 Gazelle 18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` |
| [System76 Galago Pro 5](system76/galp5-1650) | `<nixos-hardware/system76/galp5-1650>` |
| [Toshiba Chromebook 2 `swanky`](toshiba/swanky) | `<nixos-hardware/toshiba/swanky>` |
| [Tuxedo InfinityBook v4](tuxedo/infinitybook/v4) | `<nixos-hardware/tuxedo/infinitybook/v4>` |
| [TUXEDO InfinityBook Pro 14 - Gen7](tuxedo/infinitybook/pro14/gen7) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen7>` |

View file

@ -280,6 +280,7 @@
supermicro-x12scz-tln4f = import ./supermicro/x12scz-tln4f;
system76 = import ./system76;
system76-gaze18 = import ./system76/gaze18;
system76-galp5-1650 = import ./system76/galp5-1650;
system76-darp6 = import ./system76/darp6;
toshiba-swanky = import ./toshiba/swanky;
tuxedo-infinitybook-v4 = import ./tuxedo/infinitybook/v4;

View file

@ -0,0 +1,27 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ampere
];
boot.initrd.kernelModules = [ "nvidia" ];
hardware.graphics = {
enable = lib.mkDefault true;
enable32Bit = lib.mkDefault true;
};
hardware.nvidia = {
# modesetting.enable = lib.mkDefault true;
powerManagement.finegrained = lib.mkDefault true;
prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:23:0:0";
};
};
}