From a27054c34c29f13977a8b5a803fb5be54ebb6263 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig <zynh0722@gmail.com> Date: Sat, 22 Feb 2025 23:29:53 -0800 Subject: [PATCH] snowhawk: more nvk testing --- hosts/snowhawk/configuration.nix | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/hosts/snowhawk/configuration.nix b/hosts/snowhawk/configuration.nix index 49998f7..c9a441d 100644 --- a/hosts/snowhawk/configuration.nix +++ b/hosts/snowhawk/configuration.nix @@ -26,8 +26,18 @@ let nvkConfig = { system.nixos.tags = [ "nouveau-drivers" ]; - boot.kernelParams = [ "nouveau.config=NvGspRm=1" ]; + boot.kernelParams = lib.mkAfter [ "nouveau.config=NvGspRm=1" ]; services.xserver.videoDrivers = (lib.lists.remove "nvidia" config.services.xserver.videoDrivers); + + hardware.firmware = [ (config.hardware.nvidia.package).firmware ]; + + boot.blacklistedKernelModules = [ + "nvidia" + "nvidiafb" + "nvidia-drm" + "nvidia-uvm" + "nvidia-modeset" + ]; }; in { @@ -42,11 +52,11 @@ home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }]; }; - # dwlNVK.configuration = { - # snowhawk.dwl.enable = true; - # - # home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }]; - # } // nvkConfig; + dwlNVK.configuration = { + snowhawk.dwl.enable = true; + + home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }]; + } // nvkConfig; }; snowhawk = {