NixOS-Config/modules/system/services/general/portals/default.nix

18 lines
411 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2024-11-12 18:03:28 -05:00
{
xdg.portal = {
wlr = {
enable = lib.mkForce config.system.desktop.enable;
settings.screencast = {
max_fps = 60;
chooser_type = "simple";
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or -B 00000066 -b 00000099";
};
};
2024-12-08 06:41:06 -05:00
extraPortals = with pkgs; [
xdg-desktop-portal-gnome
xdg-desktop-portal-hyprland
];
};
2024-11-12 18:03:28 -05:00
}