From 1176b10c041a564a6c8cdcf21bd2aa36d9e68897 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Sun, 26 May 2024 14:37:33 +0200 Subject: [PATCH] this time actually fix hyprland --- modules/gui/hypr/land.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/gui/hypr/land.nix b/modules/gui/hypr/land.nix index dd7b7af..fd5c671 100644 --- a/modules/gui/hypr/land.nix +++ b/modules/gui/hypr/land.nix @@ -108,6 +108,7 @@ in { programs.hyprland = { enable = true; package = hyprland; + portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland; }; home-manager.users.${username} = { @@ -118,7 +119,8 @@ in { xdg.dataFile = mkIf (cfg.startupSound != null) { "hypr/startup_sound".source = cfg.startupSound; }; wayland.windowManager.hyprland = { - #portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland; + enable = true; + package = hyprland; plugins = cfg.extraPlugins; # TODO make these work with the config below (infinite recursion) # and make this file stop hanging my neovim every 2 seconds