proper vulkan setup
This commit is contained in:
parent
1a140d7fcc
commit
b5e0ecffe9
|
@ -52,4 +52,7 @@
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
||||||
|
# nixos-hardware
|
||||||
|
hardware.amdgpu.amdvlk = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -288,6 +288,7 @@
|
||||||
# xdg portal allows applications secure access to resources outside their
|
# xdg portal allows applications secure access to resources outside their
|
||||||
# sandbox through a D-Bus interface. In particular, this allows screen
|
# sandbox through a D-Bus interface. In particular, this allows screen
|
||||||
# sharing on Wayland via PipeWire and file open/save dialogues in Firefox.
|
# 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://wiki.archlinux.org/title/XDG_Desktop_Portal
|
||||||
# https://mozilla.github.io/webrtc-landing/gum_test.html
|
# https://mozilla.github.io/webrtc-landing/gum_test.html
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
|
@ -299,10 +300,4 @@
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO
|
|
||||||
hardware.opengl = {
|
|
||||||
enable = true;
|
|
||||||
extraPackages = with pkgs; [ intel-media-driver ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue