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

XPS 9560: Remove lib.mkDefault on mergable options

This commit is contained in:
Lyndon Sanche 2023-08-08 12:04:08 -06:00 committed by Jörg Thalheim
parent 1b3c128388
commit 8ff521acd2
2 changed files with 4 additions and 4 deletions

View file

@ -15,9 +15,9 @@
##### bumblebee working, needs reboot to take affect and to use it run: optirun "<application>" ##### bumblebee working, needs reboot to take affect and to use it run: optirun "<application>"
services.xserver.videoDrivers = lib.mkDefault [ "intel" "nvidia" ]; services.xserver.videoDrivers = [ "intel" "nvidia" ];
boot.blacklistedKernelModules = lib.mkDefault [ "nouveau" "bbswitch" ]; boot.blacklistedKernelModules = [ "nouveau" "bbswitch" ];
boot.extraModulePackages = lib.mkDefault [ pkgs.linuxPackages.nvidia_x11 ]; boot.extraModulePackages = [ pkgs.linuxPackages.nvidia_x11 ];
hardware.bumblebee.enable = lib.mkDefault true; hardware.bumblebee.enable = lib.mkDefault true;
hardware.bumblebee.pmMethod = lib.mkDefault "none"; hardware.bumblebee.pmMethod = lib.mkDefault "none";

View file

@ -1,7 +1,7 @@
{ lib, ... }: { lib, ... }:
{ {
boot.kernelParams = lib.mkDefault [ "acpi_rev_override" ]; boot.kernelParams = [ "acpi_rev_override" ];
# This will save you money and possibly your life! # This will save you money and possibly your life!
services.thermald.enable = lib.mkDefault true; services.thermald.enable = lib.mkDefault true;