1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00
home-manager/modules
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
..
accounts programs.khal: Simplify calendar setup (#5073) 2024-03-06 14:09:53 +01:00
config home-cursor: fix typo in XDG data directory link 2023-11-07 09:21:58 +01:00
i18n/input-method kime: remove documentation dependency on config 2024-03-18 22:13:07 +01:00
launchd treewide: deprecate DRY_RUN_CMD and DRY_RUN_NULL 2024-01-24 13:36:05 +01:00
lib senpai: switch to scfg format 2024-03-15 11:42:17 +01:00
lib-bash treewide: stop run from discarding error messages 2024-03-08 23:54:42 +01:00
misc xdg-portal: align with NixOS module 2024-03-20 23:41:55 +01:00
po Add translation using Weblate (Vietnamese) 2024-03-06 14:09:57 +01:00
programs prezto: be caseSensitive by default 2024-03-15 20:59:21 +01:00
services nix.gc: let systemd use any time config 2024-03-18 22:42:09 +01:00
targets targets/generic-linux: use xdg path for defexpr 2024-03-09 13:43:12 +01:00
default.nix home-manager: add extendModules attribute 2024-01-25 23:24:36 +01:00
files.nix files: fix activation under Nix 2.3 2024-03-08 23:54:42 +01:00
home-environment.nix treewide: stop run from discarding error messages 2024-03-08 23:54:42 +01:00
manual.nix docs: add style sheets and scrubDerivations 2024-02-01 01:10:58 +01:00
modules.nix activitywatch: add module 2024-03-15 09:39:56 +01:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh home-manager: remove the export of run 2024-01-28 10:53:09 +01:00
systemd.nix systemd: avoid creating an empty user.conf 2023-11-11 00:51:53 +01:00
xresources.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xsession.nix xsession: allow xplugd to restart on failure 2024-01-16 08:07:00 +01:00