mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
[screen-sharing] remove xdg-fix
This commit is contained in:
parent
17f579e79a
commit
2c63a65dc4
2 changed files with 0 additions and 23 deletions
|
@ -4,7 +4,6 @@
|
||||||
remmina
|
remmina
|
||||||
teamviewer
|
teamviewer
|
||||||
];
|
];
|
||||||
imports = [ ./xdg-portal.nix ];
|
|
||||||
|
|
||||||
services.pipewire.enable = true;
|
services.pipewire.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
xdg-fix = pkgs.writeScriptBin "xdg-fix.sh" ''
|
|
||||||
#!${pkgs.bash}/bin/sh
|
|
||||||
${pkgs.systemd}/bin/systemctl --user stop xdg-desktop-portal
|
|
||||||
${pkgs.procps}/bin/pkill xdg-desktop-portal
|
|
||||||
${pkgs.procps}/bin/pkill xdg-desktop-portal-gtk
|
|
||||||
${pkgs.procps}/bin/pkill xdg-desktop-portal-wlr
|
|
||||||
${pkgs.xdg-desktop-portal}/libexec/xdg-desktop-portal -v -r &
|
|
||||||
${pkgs.xdg-desktop-portal-gtk}/libexec/xdg-desktop-portal-gtk --replace --verbose &
|
|
||||||
${pkgs.xdg-desktop-portal-wlr}/libexec/xdg-desktop-portal-wlr -l DEBUG -o eDP-1 &
|
|
||||||
|
|
||||||
'';
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
|
||||||
environment.systemPackages = [
|
|
||||||
xdg-fix
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue