mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:08:12 +09:00
feat
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user