mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-05 06:47:12 -04:00
add portals.conf file
This commit is contained in:
parent
8e4d3b7aac
commit
c942e5ce7c
1 changed files with 22 additions and 0 deletions
|
|
@ -26,6 +26,28 @@ in {
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
config = {
|
||||||
|
mango = {
|
||||||
|
default = [
|
||||||
|
"wlr"
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
"org.freedesktop.impl.portal.Secret" = [
|
||||||
|
"gnome-keyring"
|
||||||
|
];
|
||||||
|
"org.freedesktop.impl.portal.ScreenCast" = [
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
|
||||||
|
"org.freedesktop.impl.portal.Access" = ["gtk"];
|
||||||
|
"org.freedesktop.impl.portal.Notification" = ["gtk"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-wlr
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
|
||||||
wlr.enable = lib.mkDefault true;
|
wlr.enable = lib.mkDefault true;
|
||||||
|
|
||||||
configPackages = [cfg.package];
|
configPackages = [cfg.package];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue