this time actually fix hyprland

This commit is contained in:
jacekpoz 2024-05-26 14:37:33 +02:00
parent b55fe653ee
commit 1176b10c04
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -108,6 +108,7 @@ in {
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
package = hyprland; package = hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
}; };
home-manager.users.${username} = { home-manager.users.${username} = {
@ -118,7 +119,8 @@ in {
xdg.dataFile = mkIf (cfg.startupSound != null) { "hypr/startup_sound".source = cfg.startupSound; }; xdg.dataFile = mkIf (cfg.startupSound != null) { "hypr/startup_sound".source = cfg.startupSound; };
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
#portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland; enable = true;
package = hyprland;
plugins = cfg.extraPlugins; plugins = cfg.extraPlugins;
# TODO make these work with the config below (infinite recursion) # TODO make these work with the config below (infinite recursion)
# and make this file stop hanging my neovim every 2 seconds # and make this file stop hanging my neovim every 2 seconds