Fix zoom screensharing
This commit is contained in:
parent
0fda525bcd
commit
be1ed33f80
1 changed files with 5 additions and 11 deletions
|
@ -2,21 +2,15 @@
|
||||||
let
|
let
|
||||||
modes = pkgs.lib.attrNames (import ../machines.nix).apollo;
|
modes = pkgs.lib.attrNames (import ../machines.nix).apollo;
|
||||||
configPath = "${config.home.homeDirectory}/git/config";
|
configPath = "${config.home.homeDirectory}/git/config";
|
||||||
xinitRc = pkgs.writeScript "zoom-xinitrc" ''
|
|
||||||
#!${pkgs.runtimeShell}
|
|
||||||
unset WAYLAND_DISPLAY
|
|
||||||
export QT_QPA_PLATFORM=xcb
|
|
||||||
export DISPLAY=":99"
|
|
||||||
${pkgs.zoom-us}/bin/zoom-us &
|
|
||||||
exec ${pkgs.icewm}/bin/icewm
|
|
||||||
'';
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
home.packages = builtins.attrValues rec {
|
home.packages = builtins.attrValues rec {
|
||||||
zoom = pkgs.writeScriptBin "zoom-wrapper" ''
|
zoom = pkgs.writeScriptBin "zoom-us" ''
|
||||||
#!${pkgs.runtimeShell}
|
#!${pkgs.runtimeShell}
|
||||||
exec ${pkgs.xorg.xinit}/bin/xinit ${xinitRc} -- ${pkgs.xorg.xorgserver}/bin/Xephyr :99 -screen 1366x768 -resizeable
|
unset XDG_SESSION_TYPE
|
||||||
|
exec ${pkgs.zoom-us}/bin/zoom-us "$@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
maintenance = pkgs.writeShellScriptBin "maintenance" ''
|
maintenance = pkgs.writeShellScriptBin "maintenance" ''
|
||||||
set -e
|
set -e
|
||||||
git -C ~/git/config pull --ff-only
|
git -C ~/git/config pull --ff-only
|
||||||
|
@ -91,7 +85,7 @@ in {
|
||||||
# web
|
# web
|
||||||
chromium
|
chromium
|
||||||
|
|
||||||
zoom-us skypeforlinux google-chrome
|
skypeforlinux google-chrome
|
||||||
|
|
||||||
mumble upower speedtest-cli acpi
|
mumble upower speedtest-cli acpi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue