mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
feat: add galp5-1650
This commit is contained in:
committed by
mergify[bot]
parent
21a769ae60
commit
d830ad47cc
27
system76/galp5-1650/default.nix
Normal file
27
system76/galp5-1650/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user