home-manager/tests
Gabriel Fontes 1c2acec999
xdg-portal: align with NixOS module
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.
2024-03-20 23:41:55 +01:00
..
integration tests: include a service in integration tests 2024-03-06 12:58:02 +01:00
lib senpai: switch to scfg format 2024-03-15 11:42:17 +01:00
modules xdg-portal: align with NixOS module 2024-03-20 23:41:55 +01:00
asserts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
big-test.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
default.nix senpai: switch to scfg format 2024-03-15 11:42:17 +01:00
stubs.nix tests: add mkStubPackage in Nixpkgs overlay 2024-03-03 06:56:05 +01:00