1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-18 08:59:41 +01:00
nixos-hardware/system76/gaze18/default.nix
Matteo Bongiovanni 972f0149f2 System76 Gaze18 nvidia not loaded fix and remove modesetting
System76 Gaze18 remove modesetting
2024-06-20 11:36:25 +00:00

27 lines
501 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
../.
../../common/gpu/nvidia/prime.nix
];
boot.initrd.kernelModules = [ "nvidia" ];
hardware.opengl = {
enable = lib.mkDefault true;
driSupport = lib.mkDefault true;
driSupport32Bit = lib.mkDefault true;
};
hardware.nvidia = {
# modesetting.enable = lib.mkDefault true;
powerManagement.finegrained = lib.mkDefault true;
prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
};
}