nixos: add the recommendation from home-manager for xdg-desktop-portal

This commit is contained in:
Alexandre Cavalheiro 2024-06-27 00:44:45 -03:00
parent 80336410e2
commit 845471f4d9
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -235,6 +235,12 @@
};
};
# Needed for home-manager
environment.pathsToLink = [
"/share/xdg-desktop-portal"
"/share/applications"
];
# Enable OpenGL.
hardware.graphics = {
enable = true;