From e68ce48e2561fc7f19f86070246b3b2affd70416 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 22 Jun 2025 22:02:18 +0200 Subject: [PATCH] feat(desktop): move xdg portal settings to home manager. --- hosts/ymir/configuration.nix | 13 ------------- modules/linux/home-manager/wayland.nix | 12 ++++++++++++ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index 8933373..407fbff 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -150,19 +150,6 @@ crony.hyprland-nixos.enable = true; crony.ollama.enable = true; - xdg.portal = { - enable = true; - wlr = { - enable = true; - settings = { - screencast = { - chooser_type = "simple"; - chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -ro"; - }; - }; - }; - }; - # List packages installed in system profile environment.systemPackages = with pkgs; [ neovim diff --git a/modules/linux/home-manager/wayland.nix b/modules/linux/home-manager/wayland.nix index e4b9e9b..ec94330 100644 --- a/modules/linux/home-manager/wayland.nix +++ b/modules/linux/home-manager/wayland.nix @@ -224,5 +224,17 @@ }; }; }; + + xdg.portal = { + enable = true; + extraPortals = [pkgs.xdg-desktop-portal-gtk]; + # config = { + # common = { + # default = [ + # "gtk" + # ]; + # }; + # }; + }; }; }