Talk:Slack: Difference between revisions

From NixOS Wiki
imported>Mindtheegab
No edit summary
imported>RemcoSchrijver
No edit summary
 
(One intermediate revision by one other user not shown)
Line 28: Line 28:
seems to work.  should we update the docs?
seems to work.  should we update the docs?


#different issue
==== Deprecated options ====
im getting this using the advised environment option
Other question, it seems that <nowiki>xdg.portal.gtkUsePortal</nowiki> is deprecated right now, what would be a valid fix for this?
 
warning: The option `xdg.portal.gtkUsePortal' defined in `/etc/nixos/software.nix' has been deprecated. Setting the variable globally with `environment.sessionVariables' NixOS option can have unforeseen side-effects.

Latest revision as of 19:33, 21 March 2024

Hello,

It seems that using

xdg = {

 portal = {
   enable = true;
   extraPortals = with pkgs; [
     xdg-desktop-portal-wlr
     xdg-desktop-portal-gtk
   ];
   gtkUsePortal = true;
 };

};

results in some conflict errors. I am using wayland and

xdg = {

 portal = {
   enable = true;
   extraPortals = with pkgs; [
     xdg-desktop-portal-wlr
   ];
   gtkUsePortal = true;
 };

};

seems to work. should we update the docs?

Deprecated options

Other question, it seems that xdg.portal.gtkUsePortal is deprecated right now, what would be a valid fix for this?