home-manager/tests/modules/misc
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
..
debug treewide: fix typos (#3618) 2023-01-24 11:30:04 +01:00
editorconfig editorconfig: add module (#3204) 2022-09-06 07:50:36 -06:00
fontconfig fontconfig: disable multiple font packages test 2020-07-31 17:30:57 +02:00
gtk gtk: fix incorrect test assertion 2022-03-24 00:08:37 +01:00
manual docs: use .xhtml for appendices 2023-12-16 15:46:42 +09:00
nix nix: fix attribute path of nix stable 2022-03-24 00:11:39 +01:00
numlock tests: add option test.stubs 2021-09-26 23:26:38 +02:00
pam pam: add yubico option 2021-12-16 19:46:47 +01:00
qt qt: fix qt.platformTheme = "gtk3" 2023-11-20 20:33:29 +00:00
specialisation specialisation: fix path 2023-06-13 08:51:05 +02:00
xdg xdg-portal: align with NixOS module 2024-03-20 23:41:55 +01:00
xsession xsession: cleanup systemd variables (#3636) 2023-05-07 23:59:56 +02:00