mirror of
https://github.com/nix-community/home-manager
synced 2024-08-19 18:46:30 +02:00
Nixpkgs has recently made a few major changes to its xdg-desktop-portal package, which silently breaks our module here: - The NIXOS_XDG_DESKTOP_PORTAL_CONFIG_DIR variable patch has been removed (in favor of putting portal configurations in /etc or XDG_CONFIG_HOME). - A new variable, NIX_XDG_DESKTOP_PORTAL_DIR, was introduced in a patch to avoid setting XDG_DESKTOP_PORTAL_DIR (which also affected portal configuration reading, not only portal definitions) I updated our module to match the changes, but this breakage also made me revisit this module and look into some improvements. Long story short, I think it's worth it to make it more similar to the NixOS one, as it will make behavior more predictable and consistent. The main change is relying on the upstream linked systemd unit (instead of using systemd.user.services), and setting the environment variables globally instead of scoping it to the unit, as it's a very global thing anyway. |
||
---|---|---|
.. | ||
default-locations.nix | ||
default.nix | ||
desktop-entries.nix | ||
desktop-full-expected.desktop | ||
desktop-min-expected.desktop | ||
file-gen.nix | ||
mime-apps-basics-expected.ini | ||
mime-apps-basics.nix | ||
portal.nix | ||
sway-portals-expected.conf | ||
system-dirs.nix | ||
user-dirs-null.nix |