summaryrefslogtreecommitdiff
path: root/systems/glados/boot.nix
blob: 1a1d29eea87b821922bdcb83e45161fdd4a98be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  config,
  lib,
  ...
}:

{
  boot = {
    kernelParams =
      [
        "amd_pstate=active"
      ]
      # Don't use GSP Firmware on proprietary driver
      # https://github.com/NVIDIA/open-gpu-kernel-modules/issues/693
      ++ lib.optional (!config.hardware.nvidia.open) "nvidia.NVreg_EnableGpuFirmware=0";

    lanzaboote = {
      enable = true;
    };
  };
}