update/fix hyprland

This commit is contained in:
Reid 2024-05-31 15:55:45 -07:00
parent 42151b5cac
commit 9a688451bf
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
2 changed files with 20 additions and 10 deletions

View file

@ -21,6 +21,7 @@ in {
config = mkIf cfg.enable {
services.displayManager.sessionPackages = [ cfg.package ];
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk cfg.portalPackage ];
@ -30,6 +31,15 @@ in {
};
};
};
# fixes a few things, most notibly, xwayland
programs.hyprland = {
enable = true;
xwayland.enable = true;
package = cfg.package;
portalPackage = cfg.portalPackage;
};
hm.wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;