This commit is contained in:
2026-08-02 17:54:30 +09:00
parent 7c66c15da5
commit 176cd60d68
16 changed files with 221 additions and 4 deletions
+16 -1
View File
@@ -1,4 +1,19 @@
{ lib, pkgs, ... }:
let
vesktop = pkgs.vesktop.overrideAttrs (oldAttrs: {
# Electron does not enable the PipeWire WebRTC capturer in Vesktop's
# wrapper, so Wayland compositors cannot hand screen sharing to their
# xdg-desktop-portal backend.
postFixup =
builtins.replaceStrings
[ "WaylandWindowDecorations" ]
[ "WaylandWindowDecorations,WebRTCPipeWireCapturer" ]
oldAttrs.postFixup;
});
in
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
programs.vesktop.enable = true;
programs.vesktop = {
enable = true;
package = vesktop;
};
}