nixpkgs/nixos/modules
Jan Tojnar ebde08adf3 nixos/xdg.portal: deprecate gtkUsePortal option
It was never meant to be used for anything other than testing
and setting it globally can cause weird loops in GTK-based portals,
where the portal will end up waiting for itself until it times out.

https://github.com/NixOS/nixpkgs/issues/135898

Or it can mess up fonts:

https://github.com/NixOS/nixpkgs/issues/155291#issuecomment-1166199585

Having the option in NixOS makes it look like it is okay or even
desirable to enable, when in fact it is a hack that can subtly break apps.

Some apps allow opting into using portal-based APIs, e.g. for Firefox,
you can set `widget.use-xdg-desktop-portal.file-picker` to `1` in about:config.
Otherwise, you can set the `GTK_USE_PORTAL` environment variable to 1
for individual apps.

People who really want it and aware of the downsides can just set
`environment.sessionVariables.GTK_USE_PORTAL = "1";` NixOS option
directly to set the environment variable globally.
2022-06-27 00:33:59 +02:00
..
config nixos/xdg.portal: deprecate gtkUsePortal option 2022-06-27 00:33:59 +02:00
hardware Merge pull request #178200 from lopsided98/device-tree-preprocessor 2022-06-19 11:13:54 +02:00
i18n/input-method Merge pull request #174218 from NickCao/fcitx5-qt6 2022-06-11 16:20:20 +00:00
installer Merge pull request #176475 from vlinkz/calamaresupdates 2022-06-18 10:11:06 +02:00
misc Merge pull request #174829 from blaggacao/fix/cleanup-nixpkgs-initial-system 2022-05-31 16:26:25 +02:00
profiles Merge pull request #169113 from ElvishJerricco/systemd-stage-1-installer-tests 2022-04-30 13:18:57 -07:00
programs {nixos/,}clickshare-csc1: remove (prepare Qt4 removal) 2022-06-18 11:47:08 +02:00
security Revert "nixos/security/wrappers: use an assertion for the existence check" 2022-06-12 15:38:05 -05:00
services nixos/prometheus-postfix-exporter: fixes for systemd integration 2022-06-20 19:30:59 +02:00
system nixos/systemd: use cfg.package in systemPackages to avoid confusion 2022-06-09 22:44:28 +02:00
tasks Merge pull request #178110 from pennae/fix-networkd-gateways 2022-06-20 14:17:41 +00:00
testing nixos/version: Warn about using the default of system.stateVersion 2022-05-05 12:22:31 +02:00
virtualisation nixos/lxc-container: improve template example 2022-06-17 11:42:16 -04:00
module-list.nix Merge pull request #177913 from Yarny0/clickshare 2022-06-20 15:55:24 +02:00
rename.nix nixos/ssmtp: drop module 2022-04-17 00:44:50 +02:00