1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/nixos/modules/config
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
..
fonts nixos/fonts: Remove ancient bitmap fonts from defaultXFonts 2022-03-13 15:37:48 -07:00
gtk nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
krb5 nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
xdg nixos/xdg.portal: deprecate gtkUsePortal option 2022-06-27 00:33:59 +02:00
appstream.nix
console.nix nixos/console: inird -> initrd 2022-04-30 14:43:09 -07:00
debug-info.nix
gnu.nix
i18n.nix nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
iproute2.nix
ldap.nix
locale.nix
malloc.nix nixos/malloc: fix scudo on non-x86_64 machines 2021-10-29 19:56:17 +01:00
networking.nix Merge pull request #147690 from pasqui23/hosts 2022-01-08 20:40:31 +01:00
no-x-libs.nix
nsswitch.nix Merge pull request #118387 from raboof/document-how-to-disable-nss 2022-04-16 22:55:40 +02:00
power-management.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
pulseaudio.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
qt5.nix
resolvconf.nix nixos/resolvconf: allow disabling 2022-03-06 11:47:29 +00:00
shells-environment.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
swap.nix nixos/swap: remove fallocate and use dd as the main swap creation method 2021-11-13 17:49:42 +02:00
sysctl.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
system-environment.nix
system-path.nix nixos/system-path: add defaultText for defaultPackages 2021-12-09 01:42:24 +01:00
terminfo.nix nixos/terminfo: add enableAllTerminfo option 2022-04-13 10:04:31 +03:00
unix-odbc-drivers.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
update-users-groups.pl nixos/users-group: make homeMode respect is_dry and create home directly with right permissions 2022-05-23 07:47:11 +02:00
users-groups.nix Merge pull request #168168 from fedeinthemix/home-mode 2022-05-23 12:27:49 +02:00
vte.nix
zram.nix