about summary refs log tree commit diff
path: root/modules/nixos-hardware/dell/xps/13-9360/default.nix
blob: 68eedc8c57f574a7bc9edfee9c60a0d5dd0f8fdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, pkgs, ... }:

{
  imports = [
    ../../../common/cpu/intel/kaby-lake
    ../../../common/pc/laptop
  ];

  boot.blacklistedKernelModules = [ "psmouse" ]; # touchpad goes over i2c

  # TODO: decide on boot loader policy
  boot.loader = {
    efi.canTouchEfiVariables = lib.mkDefault true;
    systemd-boot.enable = lib.mkDefault true;
  };

  # This will save you money and possibly your life!
  services.thermald.enable = true;
}