feat(hyprland): keep gtk portal as fallback
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
aacee2d4d7
commit
8212ac2e82
1 changed files with 8 additions and 1 deletions
|
@ -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"];
|
||||
|
||||
|
|
Loading…
Reference in a new issue