diff --git a/home-manager/modules/ezpcusr.nix b/home-manager/modules/ezpcusr.nix index c5c1246..1a81c94 100644 --- a/home-manager/modules/ezpcusr.nix +++ b/home-manager/modules/ezpcusr.nix @@ -97,6 +97,7 @@ in { xdg.portal = { enable = true; + xdgOpenUsePortal = true; config = { common.default = ["gtk"]; hyprland.default = ["gtk" "hyprland"]; diff --git a/modules/ezpc.nix b/modules/ezpc.nix index 4e6548a..20a9968 100644 --- a/modules/ezpc.nix +++ b/modules/ezpc.nix @@ -10,19 +10,6 @@ in { options.ezpc.enable = mkEnableOption "Enable ezpc system stuff"; config = mkIf cfg.enable { - xdg.portal = { - enable = lib.mkDefault true; - xdgOpenUsePortal = true; - config = { - common.default = ["gtk"]; - hyprland.default = ["gtk" "hyprland"]; - }; - extraPortals = [ - pkgs.xdg-desktop-portal-gtk - pkgs.xdg-desktop-portal-hyprland - ]; - }; - programs.hyprland.enable = true; environment.sessionVariables = {