update vulkan
This commit is contained in:
@@ -2,4 +2,6 @@
|
||||
|
||||
{
|
||||
programs.steam.enable = true;
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
hardware.graphics.enable32Bit = true;
|
||||
}
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
./audio.nix
|
||||
./opengl.nix
|
||||
./usb.nix
|
||||
./vulkan.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
vulkan-tools
|
||||
libglvnd # modern GL dispatch
|
||||
lib32.libglvnd # 32-bit GL support
|
||||
|
||||
# 32-bit graphics
|
||||
lib32.libglvnd
|
||||
lib32.glfw3
|
||||
lib32.sdl2
|
||||
lib32.zlib
|
||||
lib32.pulseaudio
|
||||
# Optional but useful
|
||||
lib32.libXrandr
|
||||
lib32.libXss
|
||||
lib32.libXi
|
||||
lib32.libXtst
|
||||
lib32.libXrender
|
||||
];
|
||||
|
||||
# Enable multilib for 32-bit
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
i686Support = true;
|
||||
};
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
}
|
||||
Reference in New Issue
Block a user