Created
July 28, 2023 19:10
-
-
Save fpletz/6909679cf09f0a6389236a29d85e35a5 to your computer and use it in GitHub Desktop.
NixOS home-manager wayland screensharing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, ... }: | |
{ | |
services.pipewire = { | |
enable = true; | |
}; | |
xdg.portal = { | |
enable = true; | |
wlr = { | |
enable = true; | |
settings = { | |
screencast = { | |
max_fps = 15; | |
chooser_type = "dmenu"; | |
chooser_cmd = "${pkgs.wofi}/bin/wofi --show dmenu"; | |
}; | |
}; | |
}; | |
extraPortals = [pkgs.xdg-desktop-portal-gtk]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment