attempt to fix portal issues

This commit is contained in:
Daniel Bulant 2026-05-30 11:55:42 +02:00
parent 3c7901f8e7
commit e4b31d567c
No known key found for this signature in database

View file

@ -227,6 +227,26 @@ in
# package = unstable-pkgs.hyprland;
};
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
];
config = {
common.default = [
"hyprland"
"gtk"
];
hyprland = {
default = [
"hyprland"
"gtk"
];
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
};
};
};
programs.dank-material-shell.greeter = {
enable = true;
compositor.name = "hyprland"; # "niri" or "hyprland" or "sway"
@ -421,19 +441,6 @@ in
enable = true;
# Steam support
enable32Bit = true;
extraPackages = with pkgs; [
# Required for modern Intel GPUs (Xe iGPU and ARC)
intel-media-driver # VA-API (iHD) userspace
vpl-gpu-rt # oneVPL (QSV) runtime
# Optional (compute / tooling):
intel-compute-runtime # OpenCL (NEO) + Level Zero for Arc/Xe
# libvdpau-va-gl
# nvidia-vaapi-driver
];
};
environment.sessionVariables = {
LIBVA_DRIVER_NAME = "iHD";
};
hardware.enableRedistributableFirmware = true;