1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-27 05:19:43 +01:00

System76 mkDefault

This commit is contained in:
Matteo Bongiovanni 2024-06-16 17:50:10 +02:00 committed by mergify[bot]
parent 28684889c8
commit f5a5916b35

View file

@ -6,9 +6,9 @@
boot.initrd.kernelModules = [ "nvidia" ]; boot.initrd.kernelModules = [ "nvidia" ];
hardware.opengl = { hardware.opengl = {
enable = true; enable = lib.mkDefault true;
driSupport = true; driSupport = lib.mkDefault true;
driSupport32Bit = true; driSupport32Bit = lib.mkDefault true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
vaapiVdpau vaapiVdpau
]; ];
@ -18,11 +18,11 @@
hardware.nvidia = { hardware.nvidia = {
modesetting.enable = true; modesetting.enable = lib.mkDefault true;
powerManagement.finegrained = true; powerManagement.finegrained = lib.mkDefault true;
nvidiaSettings = true; nvidiaSettings = lib.mkDefault true;
package = config.boot.kernelPackages.nvidiaPackages.stable; package = config.boot.kernelPackages.nvidiaPackages.stable;
prime = { prime = {
@ -30,7 +30,7 @@
nvidiaBusId = "PCI:1:0:0"; nvidiaBusId = "PCI:1:0:0";
offload = { offload = {
enable = true; enable = true;
enableOffloadCmd = true; enableOffloadCmd = lib.mkDefault true;
}; };
}; };
}; };