summaryrefslogtreecommitdiff
path: root/systems/glados/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'systems/glados/default.nix')
-rw-r--r--systems/glados/default.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/systems/glados/default.nix b/systems/glados/default.nix
index 85c2d85..831c90f 100644
--- a/systems/glados/default.nix
+++ b/systems/glados/default.nix
@@ -6,7 +6,6 @@
}:
{
imports = [
- ./boot.nix
./hardware-configuration.nix
inputs.self.nixosModules.default
@@ -19,6 +18,20 @@
gnome.enable = true;
};
+ 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;
+ };
+ };
+
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.latest;