snowhawk: more nvk testing

This commit is contained in:
Zynh Ludwig 2025-02-22 23:29:53 -08:00
parent 48f444d7a4
commit a27054c34c

View file

@ -26,8 +26,18 @@
let let
nvkConfig = { nvkConfig = {
system.nixos.tags = [ "nouveau-drivers" ]; 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); 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 in
{ {
@ -42,11 +52,11 @@
home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }]; home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
}; };
# dwlNVK.configuration = { dwlNVK.configuration = {
# snowhawk.dwl.enable = true; snowhawk.dwl.enable = true;
#
# home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }]; home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
# } // nvkConfig; } // nvkConfig;
}; };
snowhawk = { snowhawk = {