mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-05 04:06:28 -05:00
nix: add portals.conf file
This commit is contained in:
parent
8e4d3b7aac
commit
c004f7460c
1 changed files with 19 additions and 0 deletions
|
|
@ -26,6 +26,25 @@ in {
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
config = {
|
||||||
|
mango = {
|
||||||
|
default = [
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
# except those
|
||||||
|
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
|
||||||
|
"org.freedesktop.impl.portal.ScreenCast" = ["wlr"];
|
||||||
|
"org.freedesktop.impl.portal.ScreenShot" = ["wlr"];
|
||||||
|
|
||||||
|
# wlr does not have this interface
|
||||||
|
"org.freedesktop.impl.portal.Inhibit" = [];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
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