From 73046857ef20f99983aaa95c04e0061615478583 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Mon, 10 Feb 2025 14:24:36 -0500 Subject: glados: don't have dedicated boot file --- systems/glados/default.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'systems/glados/default.nix') 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; -- cgit v1.2.3