diff options
Diffstat (limited to 'system/desktops/sway.nix')
| -rw-r--r-- | system/desktops/sway.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/system/desktops/sway.nix b/system/desktops/sway.nix index d0838a4..6c36c12 100644 --- a/system/desktops/sway.nix +++ b/system/desktops/sway.nix @@ -4,7 +4,7 @@ pkgs, ... }: let - inherit (lib) mkIf mkDefault; + inherit (lib) mkIf; cfg = config.desktops.sway; in { config = mkIf cfg.enable { @@ -17,7 +17,10 @@ in { xdg-desktop-portal-wlr ]; config.sway = { - default = lib.mkForce ["gtk" "wlr"]; + default = lib.mkForce ["gtk"]; + "org.freedesktop.impl.portal.Secret" = ["gnome-keyring"]; + "org.freedesktop.impl.portal.FileChooser" = ["gtk"]; + "org.freedesktop.impl.portal.OpenURI" = ["gtk"]; "org.freedesktop.impl.portal.Screenshot" = ["wlr"]; "org.freedesktop.impl.portal.ScreenCast" = ["wlr"]; }; @@ -30,6 +33,7 @@ in { base = false; gtk = false; }; + extraPackages = []; }; }; } |