1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-09 12:39:40 +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" ];
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
enable = lib.mkDefault true;
driSupport = lib.mkDefault true;
driSupport32Bit = lib.mkDefault true;
extraPackages = with pkgs; [
vaapiVdpau
];
@ -18,11 +18,11 @@
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;
prime = {
@ -30,7 +30,7 @@
nvidiaBusId = "PCI:1:0:0";
offload = {
enable = true;
enableOffloadCmd = true;
enableOffloadCmd = lib.mkDefault true;
};
};
};