From a144a5205d0b2fb300e6395dfb0334104522c0e2 Mon Sep 17 00:00:00 2001 From: xqtc Date: Fri, 22 Nov 2024 18:39:29 +0100 Subject: [PATCH] Some hardware stuff --- hosts/x86_64-linux/asmodeus/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/x86_64-linux/asmodeus/default.nix b/hosts/x86_64-linux/asmodeus/default.nix index 826ecb0..e5a4b25 100644 --- a/hosts/x86_64-linux/asmodeus/default.nix +++ b/hosts/x86_64-linux/asmodeus/default.nix @@ -54,6 +54,9 @@ driSupport32Bit = true; }; + hardware.enableAllFirmware = true; + services.fwupd.enable = true; + hardware.opengl.extraPackages = with pkgs; [ vaapiVdpau ]; @@ -61,14 +64,14 @@ hardware.nvidia = { modesetting.enable = true; + open = true; + powerManagement.enable = false; powerManagement.finegrained = false; - open = false; - nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.stable; + package = config.boot.kernelPackages.nvidiaPackages.production; }; # Use the systemd-boot EFI boot loader.