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