mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-09 12:39:40 +01:00
System76 mkDefault
This commit is contained in:
parent
28684889c8
commit
f5a5916b35
1 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue