summaryrefslogtreecommitdiffstats
path: root/dell/xps/15-9560/intel/default.nix
blob: f20379786ddb63502b36242ef36a71b3a30c5afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ 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" ];

}