mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-25 02:59:45 +01:00
36094450fd
This is already used in XPS 15-9560, but instead of defining it in XPS 15-9560 let's create a separate profile and expose it for those who want to disable their NVIDIA GPU.
17 lines
444 B
Nix
17 lines
444 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../../common/cpu/intel
|
|
../../../common/pc/laptop
|
|
# To just use Intel integrated graphics with Intel's open source driver
|
|
# ../../../common/gpu/nvidia-disable
|
|
];
|
|
|
|
# TODO: boot loader
|
|
boot.loader.systemd-boot.enable = lib.mkDefault true;
|
|
boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
|
|
|
|
# This will save you money and possibly your life!
|
|
services.thermald.enable = true;
|
|
}
|