blob: ceef20ab946650817a3253feb19e97f7fbefb68a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkIf;
cfg = config.desktops;
in {
config = mkIf cfg.wayland {
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-wlr
];
};
programs.xwayland.enable = true;
};
}
|