update/fix hyprland
This commit is contained in:
parent
42151b5cac
commit
9a688451bf
2 changed files with 20 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue