Use vulkan beta

This commit is contained in:
Aode 2023-03-06 17:12:25 -06:00
parent de313d36b4
commit b1923f4085
2 changed files with 3 additions and 3 deletions

View file

@ -22,6 +22,8 @@
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.kernelPackages = pkgs.linuxPackages_latest;
# Setup keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;

View file

@ -17,13 +17,11 @@ let
nvidia = ({ side, busID }: {
system.nixos.tags = [ "eGPU" side ];
# boot.kernelPackages = lib.mkForce pkgs.linuxPackages;
# Set X11 to use Nvidia drivers
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
services.xserver.config = pkgs.lib.mkOverride 0 (lib.strings.concatStringsSep "\n\n" [
(section "Module" [ (keyValue "Load" "modesetting") ])
(section "Device" [