From 7abac181d3c3cbb91d424fe0c973a5bc83df2aa9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 11 Dec 2024 08:45:08 +0100 Subject: ... --- accounts/gkleen@sif/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'accounts/gkleen@sif/default.nix') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index c6e479ec..c7588e2f 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -734,6 +734,7 @@ in { args+=("$@") exec -a emacsclient ${cfg.services.emacs.package}/bin/emacsclient "''${args[@]}" ''; + RCLONE_PASSWORD_COMMAND = "${pkgs.libsecret}/bin/secret-tool lookup service rclone"; }; extraProfileCommands = '' @@ -924,6 +925,18 @@ in { enable = true; settings = import ./hyprland.nix inputs; }; + + xdg.portal = { + enable = true; + xdgOpenUsePortal = true; + config = { + common.default = [ "gtk" ]; + hyprland.default = [ "gtk" "hyprland" ]; + }; + extraPortals = with pkgs; [ + xdg-desktop-portal-gtk xdg-desktop-portal-wlr xdg-desktop-portal-hyprland + ]; + }; }; }; } -- cgit v1.2.3