diff --git a/home/xdg-config/xdg.nix b/home/xdg-config/xdg.nix index d88f534..7575f43 100644 --- a/home/xdg-config/xdg.nix +++ b/home/xdg-config/xdg.nix @@ -10,8 +10,10 @@ in portal = lib.mkIf cfg.enable { enable = true; extraPortals = [ - inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-gtk + ] + ++ lib.optionalAttrs cfg.hyprland.enable [ + inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland ]; configPackages = [] ++ lib.optionalAttrs cfg.hyprland.enable [