1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00
home-manager/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
..
dconf.nix treewide: deprecate VERBOSE_ECHO 2024-01-24 13:36:05 +01:00
debug.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
editorconfig.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
fontconfig.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
gtk.nix gtk: fix GTK 4 theme being ignored 2023-12-16 15:01:19 +01:00
lib.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
news.nix activitywatch: add module 2024-03-15 09:39:56 +01:00
nix.nix nix: fix generation of nix.conf for nix >= 2.20 2024-02-03 11:14:20 +01:00
nixpkgs-disabled.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
nixpkgs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
numlock.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pam.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
qt.nix qt: fix qt.platformTheme = "gtk3" 2023-11-20 20:33:29 +00:00
specialisation.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
submodule-support.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tmpfiles.nix tmpfiles: use only xdg.configFile 2023-08-31 14:18:55 +02:00
uninstall.nix treewide: deprecate DRY_RUN_CMD and DRY_RUN_NULL 2024-01-24 13:36:05 +01:00
version.nix home-manager: add 24.05 as valid state version 2023-11-27 08:46:43 +01:00
vte.nix vte: add module 2020-06-14 12:20:12 +02:00
xdg-desktop-entries.nix modules: types.string throws error now (#4324) 2023-08-08 17:00:24 +02:00
xdg-mime-apps.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-mime.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-portal.nix xdg-portal: align with NixOS module 2024-03-20 23:41:55 +01:00
xdg-system-dirs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-user-dirs.nix xdg-user-dirs: check for existing symlink 2024-03-07 17:29:26 +02:00
xdg.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xfconf.nix xfconf: fix config loading 2024-02-01 15:34:01 +01:00