feat(hyprland): keep gtk portal as fallback
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-03-18 11:15:31 -04:00
parent aacee2d4d7
commit 8212ac2e82

View file

@ -7,6 +7,8 @@
}: let
inherit (lib) concatStringsSep optionals;
inherit (config.vars) mainUser;
cfg = config.programs.hyprland;
in {
# SYSTEM CONFIG
imports = [
@ -35,6 +37,11 @@ in {
portalPackage = xdg-desktop-portal-hyprland;
};
xdg.portal.extraPortals = [
cfg.portalPackage
pkgs.xdg-desktop-portal-gtk
];
# HOME-MANAGER CONFIG
home-manager.users.${mainUser} = {
imports = [
@ -46,7 +53,7 @@ in {
wayland.windowManager.hyprland = {
enable = true;
package = config.programs.hyprland.finalPackage;
package = cfg.finalPackage;
systemd.variables = ["-all"];