proper vulkan setup

This commit is contained in:
Casper V. Kristensen 2024-02-18 20:55:35 +01:00
parent 1a140d7fcc
commit b5e0ecffe9
2 changed files with 4 additions and 6 deletions

View file

@ -52,4 +52,7 @@
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
# nixos-hardware
hardware.amdgpu.amdvlk = true;
}

View file

@ -288,6 +288,7 @@
# xdg portal allows applications secure access to resources outside their
# sandbox through a D-Bus interface. In particular, this allows screen
# sharing on Wayland via PipeWire and file open/save dialogues in Firefox.
# https://nixos.org/manual/nixos/stable/index.html#sec-wayland
# https://wiki.archlinux.org/title/XDG_Desktop_Portal
# https://mozilla.github.io/webrtc-landing/gum_test.html
services.dbus.enable = true;
@ -299,10 +300,4 @@
xdg-desktop-portal-gtk
];
};
# TODO
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [ intel-media-driver ];
};
}