wayland: add hyprland portal from flake

This commit is contained in:
notohh 2023-11-26 02:19:43 -05:00
parent 3d9cdc2fcd
commit 610b595a45
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,4 +1,8 @@
{pkgs, ...}: let {
pkgs,
inputs,
...
}: let
dbus-hyprland-environment = pkgs.writeTextFile { dbus-hyprland-environment = pkgs.writeTextFile {
name = "dbus-hyprland-environment"; name = "dbus-hyprland-environment";
destination = "/bin/dbus-hyprland-environment"; destination = "/bin/dbus-hyprland-environment";
@ -34,8 +38,8 @@ in {
xdg.portal = { xdg.portal = {
enable = true; enable = true;
extraPortals = with pkgs; [ extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland
]; ];
config = { config = {
common.default = "*"; common.default = "*";