18 lines
425 B
Nix
18 lines
425 B
Nix
# SPDX-FileCopyrightText: 2021 Simon Bruder <simon@sbruder.de>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
{ lib, ... }:
|
|
|
|
{
|
|
# screen recording/sharing with pipewire
|
|
# portal is installed in system configuration
|
|
xdg.configFile."xdg-desktop-portal-wlr/config".text = lib.generators.toINI { } {
|
|
screencast = {
|
|
max_fps = 30;
|
|
chooser_type = "simple";
|
|
chooser_cmd = "slurp -f %o -or";
|
|
};
|
|
};
|
|
}
|