mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-25 02:03:51 -08:00
feat: add xdg-desktop-portal
This commit is contained in:
parent
fed385b023
commit
45922f8770
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -286,4 +287,10 @@
|
||||||
"hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
|
"hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
configPackages = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue