1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-24 03:49:43 +01:00
nixos-hardware/dell/xps/15-9560/intel/default.nix

19 lines
430 B
Nix
Raw Normal View History

{ lib, pkgs, ... }:
{
imports = [
../../../../common/cpu/intel
../../../../common/pc/laptop
../xps-common.nix
];
# This runs only Intel and nvidia does not drain power.
##### disable nvidia, very nice battery life.
hardware.nvidiaOptimus.disable = lib.mkDefault true;
boot.blacklistedKernelModules = lib.mkDefault [ "nouveau" "nvidia" ];
services.xserver.videoDrivers = lib.mkDefault [ "intel" ];
}