diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 98efda5..eb199bf 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -86,6 +86,12 @@ in { # Enable hyprpaper services.hyprpaper.enable = true; + # Setup portal for hyprland + xdg.portal = { + enable = true; + extraPortals = [pkgs.xdg-desktop-portal-gtk]; + }; + # Enable hypridle services.hypridle = { enable = true; diff --git a/modules/linux/home-manager/wayland.nix b/modules/linux/home-manager/wayland.nix index ac0a178..b4c7172 100644 --- a/modules/linux/home-manager/wayland.nix +++ b/modules/linux/home-manager/wayland.nix @@ -226,10 +226,5 @@ }; }; }; - - xdg.portal = { - enable = true; - extraPortals = [pkgs.xdg-desktop-portal-gtk]; - }; }; }